Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007575/0.007575, allocations: 102.5 kB / 15.73 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 199.2 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.742/1.742, allocations: 251.7 MB / 0.5094 GB, free: 2.992 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 67.91 kB / 0.7258 GB, free: 8.957 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2649, allocations: 104.7 MB / 0.8281 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03826/0.3032, allocations: 35.01 MB / 0.8623 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01741/0.3206, allocations: 10.02 MB / 0.872 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003903/0.3246, allocations: 147.2 kB / 0.8722 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.3347, allocations: 3.798 MB / 0.8759 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006603/0.3413, allocations: 2.15 MB / 0.878 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006096/0.3475, allocations: 1.956 MB / 0.8799 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0106/0.3581, allocations: 7.99 MB / 0.8877 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01472/0.3728, allocations: 9.518 MB / 0.897 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006865/0.3797, allocations: 3.431 MB / 0.9003 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007073/0.3868, allocations: 3.73 MB / 0.904 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002848/0.3897, allocations: 0.6797 MB / 0.9046 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6791/1.069, allocations: 1.441 MB / 0.9061 GB, free: 27.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.007164/1.076, allocations: 2.612 MB / 0.9086 GB, free: 27.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0136/1.09, allocations: 3.105 MB / 0.9116 GB, free: 26.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02477/1.114, allocations: 10.38 MB / 0.9218 GB, free: 25.87 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/1.115, allocations: 1.266 kB / 0.9218 GB, free: 25.87 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.326e-06/1.115, allocations: 0.9375 kB / 0.9218 GB, free: 25.87 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000741/1.115, allocations: 0 / 0.9218 GB, free: 25.87 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.03531/1.151, allocations: 5.409 MB / 0.9271 GB, free: 23.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.966e-05/1.151, allocations: 9.344 kB / 0.9271 GB, free: 23.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/1.161, allocations: 0.961 MB / 0.928 GB, free: 23.64 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/1.172, allocations: 3.183 MB / 0.9311 GB, free: 22.96 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005787/1.173, allocations: 354.2 kB / 0.9314 GB, free: 22.95 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004593/1.178, allocations: 464.1 kB / 0.9319 GB, free: 22.95 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03522/1.213, allocations: 7.912 MB / 0.9396 GB, free: 21.88 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003829/1.213, allocations: 21.88 kB / 0.9396 GB, free: 21.87 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004167/1.218, allocations: 210.6 kB / 0.9398 GB, free: 21.87 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000798/1.218, allocations: 365.8 kB / 0.9402 GB, free: 21.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01987/1.238, allocations: 5.935 MB / 0.946 GB, free: 20.03 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05278/1.291, allocations: 35.96 MB / 0.9811 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004326/1.295, allocations: 2.132 MB / 0.9832 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/1.298, allocations: 1.482 MB / 0.9846 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.962e-05/1.298, allocations: 20.59 kB / 0.9846 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.378e-05/1.298, allocations: 51.41 kB / 0.9847 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 7.294e-06/1.298, allocations: 1.312 kB / 0.9847 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01732/1.315, allocations: 7.545 MB / 0.9921 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/1.316, allocations: 68 kB / 0.9921 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003798/1.319, allocations: 1.857 MB / 0.9939 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004693/1.32, allocations: 61.39 kB / 0.994 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/1.321, allocations: 2.124 MB / 0.9961 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008874/1.322, allocations: 0.5554 MB / 0.9966 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000749/1.323, allocations: 405.3 kB / 0.997 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.323, allocations: 307.1 kB / 0.9973 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/1.325, allocations: 1.064 MB / 0.9983 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/1.327, allocations: 1.757 MB / 1 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/1.331, allocations: 3.046 MB / 1.003 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/1.331, allocations: 8 kB / 1.003 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006845/1.338, allocations: 3.929 MB / 1.007 GB, free: 144 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/1.338, allocations: 16.75 kB / 1.007 GB, free: 128 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/1.338, allocations: 20 kB / 1.007 GB, free: 108 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/1.34, allocations: 0.9321 MB / 1.008 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/1.342, allocations: 433.9 kB / 1.008 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/1.363, allocations: 22.75 MB / 1.03 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/1.366, allocations: 128 kB / 1.031 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003514/1.367, allocations: 95.98 kB / 1.031 GB, free: 6.234 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004629/1.371, allocations: 1.651 MB / 1.032 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.372, allocations: 253 kB / 1.033 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006086/1.379, allocations: 3.263 MB / 1.036 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.379, allocations: 16 kB / 1.036 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/1.379, allocations: 15.98 kB / 1.036 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/1.379, allocations: 3.984 kB / 1.036 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/1.395, allocations: 7.561 MB / 1.043 GB, free: 9.414 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.395, allocations: 8.094 kB / 1.043 GB, free: 9.406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/1.396, allocations: 209.7 kB / 1.043 GB, free: 9.211 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/1.398, allocations: 0.8972 MB / 1.044 GB, free: 8.285 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/1.398, allocations: 32 kB / 1.044 GB, free: 8.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/1.42, allocations: 22.72 MB / 1.066 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.42, allocations: 4 kB / 1.066 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006668/1.426, allocations: 3.382 MB / 1.07 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.428, allocations: 0.5289 MB / 1.07 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/1.429, allocations: 31.91 kB / 1.07 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.43, allocations: 104 kB / 1.07 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004481/1.43, allocations: 140.2 kB / 1.071 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.43, allocations: 52 kB / 1.071 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00191/1.432, allocations: 1.221 MB / 1.072 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/1.432, allocations: 0 / 1.072 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003998/1.436, allocations: 0.9062 MB / 1.073 GB, free: 9.504 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003834/1.437, allocations: 155.7 kB / 1.073 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006842/1.444, allocations: 4.436 MB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.444, allocations: 0 / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004552/1.448, allocations: 2.986 MB / 1.08 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/1.453, allocations: 0.8228 MB / 1.081 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/1.47, allocations: 7.587 MB / 1.088 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00514/1.475, allocations: 3.212 MB / 1.091 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002468/1.478, allocations: 0.5332 MB / 1.092 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/1.478, allocations: 139.4 kB / 1.092 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of SimCode: time 1.173e-06/1.478, allocations: 0 / 1.092 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of Templates: time 0.08169/1.56, allocations: 41.64 MB / 1.133 GB, free: 12.54 MB / 0.8887 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)