Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001108/0.001108, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7072/0.7072, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 60.12 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3619, allocations: 76.15 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03141/0.3933, allocations: 34.81 MB / 0.5916 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01674/0.4101, allocations: 11.5 MB / 0.6028 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003456/0.4136, allocations: 163.8 kB / 0.603 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008803/0.4224, allocations: 4.257 MB / 0.6071 GB, free: 1.535 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.428, allocations: 1.982 MB / 0.6091 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006338/0.4344, allocations: 2.419 MB / 0.6114 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009515/0.4439, allocations: 8.462 MB / 0.6197 GB, free: 4.844 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.4565, allocations: 11.12 MB / 0.6305 GB, free: 9.641 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005745/0.4622, allocations: 3.739 MB / 0.6342 GB, free: 5.891 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007483/0.4698, allocations: 4.19 MB / 0.6383 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001785/0.4716, allocations: 0.7773 MB / 0.639 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004483/0.4761, allocations: 2.024 MB / 0.641 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003811/0.4799, allocations: 3.06 MB / 0.644 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005365/0.4853, allocations: 3.4 MB / 0.6473 GB, free: 8.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.4984, allocations: 11.97 MB / 0.659 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4985, allocations: 4 kB / 0.659 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4985, allocations: 4 kB / 0.659 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003189/0.4988, allocations: 3.938 kB / 0.659 GB, free: 12.39 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01222/0.511, allocations: 5.803 MB / 0.6647 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.5111, allocations: 8.031 kB / 0.6647 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005566/0.5167, allocations: 1.06 MB / 0.6657 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007595/0.5243, allocations: 3.453 MB / 0.6691 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/0.5246, allocations: 415.5 kB / 0.6695 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/0.526, allocations: 0.5354 MB / 0.67 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/0.5413, allocations: 9.091 MB / 0.6789 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/0.5415, allocations: 31.67 kB / 0.6789 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005518/0.5421, allocations: 236 kB / 0.6792 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003264/0.5424, allocations: 346.8 kB / 0.6795 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.5549, allocations: 6.83 MB / 0.6862 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04497/0.5999, allocations: 39.79 MB / 0.725 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003599/0.6036, allocations: 3.102 MB / 0.7281 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/0.6061, allocations: 1.962 MB / 0.73 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.895e-05/0.6062, allocations: 25.98 kB / 0.73 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.6063, allocations: 52.56 kB / 0.73 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 3.556e-06/0.6063, allocations: 0 / 0.73 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.02354/0.6298, allocations: 9.986 MB / 0.7398 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.6299, allocations: 69.41 kB / 0.7399 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.6317, allocations: 1.526 MB / 0.7414 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.6319, allocations: 49.7 kB / 0.7414 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.6331, allocations: 2.261 MB / 0.7436 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/0.6336, allocations: 0.6354 MB / 0.7442 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005542/0.6341, allocations: 411.9 kB / 0.7446 GB, free: 208 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.2448/0.8789, allocations: 304.9 kB / 0.7449 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.8812, allocations: 1.173 MB / 0.7461 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.8834, allocations: 1.884 MB / 0.7479 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/0.8873, allocations: 3.375 MB / 0.7512 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.8873, allocations: 5.406 kB / 0.7512 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007436/0.8948, allocations: 4.578 MB / 0.7557 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.8948, allocations: 14.91 kB / 0.7557 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-05/0.8949, allocations: 23.14 kB / 0.7557 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/0.8985, allocations: 1.588 MB / 0.7573 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.8997, allocations: 355 kB / 0.7576 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/0.9202, allocations: 18.57 MB / 0.7757 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.9221, allocations: 118.5 kB / 0.7758 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.9223, allocations: 101.3 kB / 0.7759 GB, free: 140.5 MB / 0.5762 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002941/0.9253, allocations: 1.89 MB / 0.7778 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/0.9257, allocations: 226.9 kB / 0.778 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006106/0.9318, allocations: 4.095 MB / 0.782 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.9319, allocations: 26.25 kB / 0.782 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/0.9319, allocations: 16.78 kB / 0.782 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.9319, allocations: 15.34 kB / 0.7821 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.9446, allocations: 9.459 MB / 0.7913 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.9446, allocations: 7.812 kB / 0.7913 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.9454, allocations: 183.3 kB / 0.7915 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003088/0.9485, allocations: 1.348 MB / 0.7928 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.9486, allocations: 39.94 kB / 0.7928 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/0.965, allocations: 17.35 MB / 0.8098 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.965, allocations: 12.59 kB / 0.8098 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005312/0.9703, allocations: 4.075 MB / 0.8138 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.9714, allocations: 0.5257 MB / 0.8143 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.9717, allocations: 39.84 kB / 0.8143 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000821/0.9725, allocations: 87.89 kB / 0.8144 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003827/0.9729, allocations: 169.6 kB / 0.8146 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/0.973, allocations: 47.83 kB / 0.8146 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001017/0.974, allocations: 1.005 MB / 0.8156 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.974, allocations: 0 / 0.8156 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002733/0.9768, allocations: 0.9883 MB / 0.8166 GB, free: 108.5 MB / 0.5762 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002225/0.977, allocations: 142.9 kB / 0.8167 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005232/0.9822, allocations: 4.309 MB / 0.8209 GB, free: 104 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9823, allocations: 0 / 0.8209 GB, free: 104 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.9855, allocations: 2.658 MB / 0.8235 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/0.9882, allocations: 0.7748 MB / 0.8242 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.9997, allocations: 8.592 MB / 0.8326 GB, free: 91.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/1.003, allocations: 3.573 MB / 0.8361 GB, free: 88.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001136/1.004, allocations: 459.9 kB / 0.8366 GB, free: 87.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/1.004, allocations: 119.4 kB / 0.8367 GB, free: 87.79 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/1.004, allocations: 4 kB / 0.8367 GB, free: 87.78 MB / 0.5762 GB Notification: Performance of Templates: time 0.05789/1.062, allocations: 43.89 MB / 0.8795 GB, free: 44.43 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)