Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009897/0.0009894, allocations: 94.84 kB / 16.67 MB, free: 5.859 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.001151/0.001151, allocations: 178.3 kB / 17.57 MB, free: 5.543 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.364/1.364, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7494/0.7494, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 12 kB / 496.5 MB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4119, allocations: 77.52 MB / 0.5606 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01539/0.4274, allocations: 14.11 MB / 0.5744 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.4441, allocations: 10.23 MB / 0.5844 GB, free: 18.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.4467, allocations: 48.34 kB / 0.5844 GB, free: 18.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.4483, allocations: 288.8 kB / 0.5847 GB, free: 18.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007253/0.4556, allocations: 1.602 MB / 0.5863 GB, free: 17.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.4583, allocations: 0.6834 MB / 0.5869 GB, free: 17.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006088/0.4644, allocations: 3.402 MB / 0.5902 GB, free: 16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00438/0.4688, allocations: 1.993 MB / 0.5922 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.4719, allocations: 1.322 MB / 0.5935 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.4747, allocations: 1.086 MB / 0.5945 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000545/0.4752, allocations: 74.31 kB / 0.5946 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.4779, allocations: 0.8582 MB / 0.5955 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009814/0.4789, allocations: 0.5041 MB / 0.5959 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002237/0.4811, allocations: 0.8548 MB / 0.5968 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.4847, allocations: 2.145 MB / 0.5989 GB, free: 11.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4847, allocations: 3.938 kB / 0.5989 GB, free: 11.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4847, allocations: 1.156 kB / 0.5989 GB, free: 11.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001138/0.4848, allocations: 0 / 0.5989 GB, free: 11.18 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004972/0.4898, allocations: 1.849 MB / 0.6007 GB, free: 9.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4898, allocations: 9.938 kB / 0.6007 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.5017, allocations: 2.164 MB / 0.6028 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/0.5047, allocations: 1.217 MB / 0.604 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/0.5047, allocations: 86.69 kB / 0.6041 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.505, allocations: 124 kB / 0.6042 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005214/0.5102, allocations: 2.694 MB / 0.6068 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.5103, allocations: 7.938 kB / 0.6068 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.5104, allocations: 51.98 kB / 0.6069 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006041/0.5111, allocations: 194.1 kB / 0.6071 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007031/0.5181, allocations: 2.838 MB / 0.6098 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.5341, allocations: 10.57 MB / 0.6202 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006925/0.5411, allocations: 2.387 MB / 0.6225 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/0.5444, allocations: 1.299 MB / 0.6238 GB, free: 1.691 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.89e-05/0.5445, allocations: 9 kB / 0.6238 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.5446, allocations: 51.55 kB / 0.6238 GB, free: 1.621 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.5446, allocations: 0 / 0.6238 GB, free: 1.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.0625/0.6071, allocations: 16.54 MB / 0.64 GB, free: 0.918 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.6072, allocations: 64.72 kB / 0.64 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.6091, allocations: 1.172 MB / 0.6412 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003116/0.6094, allocations: 53.7 kB / 0.6412 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.6101, allocations: 0.7436 MB / 0.642 GB, free: 14.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00063/0.6108, allocations: 0.5198 MB / 0.6425 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.611, allocations: 121.6 kB / 0.6426 GB, free: 14.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.6112, allocations: 305.1 kB / 0.6429 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003786/0.6149, allocations: 1.526 MB / 0.6444 GB, free: 12.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003866/0.6188, allocations: 1.803 MB / 0.6461 GB, free: 10.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007599/0.6264, allocations: 3.408 MB / 0.6495 GB, free: 6.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.6265, allocations: 4 kB / 0.6495 GB, free: 6.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01366/0.6401, allocations: 5.315 MB / 0.6546 GB, free: 1.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.6402, allocations: 8 kB / 0.6547 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6402, allocations: 8 kB / 0.6547 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006846/0.6471, allocations: 1.884 MB / 0.6565 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.6492, allocations: 423.2 kB / 0.6569 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02774/0.677, allocations: 22.2 MB / 0.6786 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.68, allocations: 327.5 kB / 0.6789 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/0.6803, allocations: 63.97 kB / 0.679 GB, free: 7.621 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009767/0.6812, allocations: 462.1 kB / 0.6794 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.6816, allocations: 181.9 kB / 0.6796 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.6957, allocations: 5.355 MB / 0.6848 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.6958, allocations: 19.94 kB / 0.6848 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.789e-05/0.6958, allocations: 16 kB / 0.6848 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.6958, allocations: 7.969 kB / 0.6848 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/0.7131, allocations: 7.477 MB / 0.6921 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.7132, allocations: 4 kB / 0.6922 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/0.715, allocations: 363.4 kB / 0.6925 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006188/0.7212, allocations: 1.704 MB / 0.6942 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/0.7214, allocations: 43.91 kB / 0.6942 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02597/0.7474, allocations: 21.39 MB / 0.7151 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.7475, allocations: 7.938 kB / 0.7151 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/0.7603, allocations: 4.928 MB / 0.7199 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.7614, allocations: 494.9 kB / 0.7204 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.7617, allocations: 35.98 kB / 0.7204 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/0.764, allocations: 331.5 kB / 0.7207 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005417/0.7645, allocations: 153 kB / 0.7209 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.7647, allocations: 51.97 kB / 0.7209 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001051/0.7657, allocations: 0.7899 MB / 0.7217 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7657, allocations: 0 / 0.7217 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002243/0.768, allocations: 0.6523 MB / 0.7223 GB, free: 9.836 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003037/0.7683, allocations: 147.1 kB / 0.7225 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01176/0.78, allocations: 5.163 MB / 0.7275 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.7801, allocations: 0 / 0.7275 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00787/0.788, allocations: 3.374 MB / 0.7308 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/0.7915, allocations: 0.5202 MB / 0.7313 GB, free: 440 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.8016, allocations: 5.17 MB / 0.7364 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.8031, allocations: 1.568 MB / 0.7379 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006964/0.8038, allocations: 127.3 kB / 0.738 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of SimCode: time 1.443e-06/0.8038, allocations: 0 / 0.738 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of Templates: time 0.3508/1.155, allocations: 85.47 MB / 0.8215 GB, free: 108.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)