Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 88.83 kB / 16.67 MB, free: 6.59 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.001633/0.001633, allocations: 179.9 kB / 17.58 MB, free: 6.188 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.467/1.467, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7639/0.7639, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003554, allocations: 12 kB / 496.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4159, allocations: 77.5 MB / 0.5606 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01358/0.4295, allocations: 13.41 MB / 0.5737 GB, free: 27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.4426, allocations: 9.266 MB / 0.5827 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.4443, allocations: 48.03 kB / 0.5828 GB, free: 20.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000927/0.4453, allocations: 276.9 kB / 0.583 GB, free: 20.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.4498, allocations: 1.416 MB / 0.5844 GB, free: 19.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.4517, allocations: 0.6897 MB / 0.5851 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004367/0.4561, allocations: 3.166 MB / 0.5882 GB, free: 18.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003468/0.4596, allocations: 1.98 MB / 0.5901 GB, free: 17.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.4615, allocations: 0.8653 MB / 0.591 GB, free: 16.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.4633, allocations: 1.063 MB / 0.592 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.4635, allocations: 74.75 kB / 0.5921 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.4651, allocations: 0.8656 MB / 0.5929 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004764/0.4656, allocations: 0.5078 MB / 0.5934 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007846/0.4664, allocations: 0.8466 MB / 0.5942 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.4683, allocations: 2.137 MB / 0.5963 GB, free: 13.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4684, allocations: 0.9688 kB / 0.5963 GB, free: 13.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4684, allocations: 0 / 0.5963 GB, free: 13.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.362e-05/0.4684, allocations: 4 kB / 0.5963 GB, free: 13.52 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.003333/0.4717, allocations: 1.821 MB / 0.5981 GB, free: 12.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4718, allocations: 12.28 kB / 0.5981 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.4833, allocations: 2.153 MB / 0.6002 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.4857, allocations: 1.197 MB / 0.6014 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.4858, allocations: 90.73 kB / 0.6015 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.486, allocations: 124 kB / 0.6016 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005488/0.4915, allocations: 2.698 MB / 0.6042 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.4916, allocations: 7.938 kB / 0.6042 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.4918, allocations: 55.98 kB / 0.6043 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000626/0.4924, allocations: 182.1 kB / 0.6045 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007078/0.4995, allocations: 2.846 MB / 0.6073 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/0.5149, allocations: 10.57 MB / 0.6176 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007303/0.5222, allocations: 2.573 MB / 0.6201 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00334/0.5256, allocations: 1.307 MB / 0.6214 GB, free: 4.125 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/0.5257, allocations: 9 kB / 0.6214 GB, free: 4.117 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.5257, allocations: 47.5 kB / 0.6214 GB, free: 4.062 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 4.98e-06/0.5258, allocations: 4 kB / 0.6214 GB, free: 4.059 MB / 462.1 MB Notification: Performance of matching and sorting (n=131): time 0.04749/0.5733, allocations: 13.45 MB / 0.6346 GB, free: 6.383 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.5733, allocations: 64.72 kB / 0.6346 GB, free: 6.309 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.5749, allocations: 1.125 MB / 0.6357 GB, free: 5.168 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002485/0.5751, allocations: 45.7 kB / 0.6358 GB, free: 5.117 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005307/0.5757, allocations: 0.7194 MB / 0.6365 GB, free: 4.391 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/0.5762, allocations: 445.5 kB / 0.6369 GB, free: 3.949 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.5764, allocations: 105.7 kB / 0.637 GB, free: 3.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5765, allocations: 365.9 kB / 0.6373 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003478/0.58, allocations: 1.358 MB / 0.6387 GB, free: 2.117 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/0.5836, allocations: 1.62 MB / 0.6402 GB, free: 408 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007201/0.5909, allocations: 3.041 MB / 0.6432 GB, free: 13.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.5909, allocations: 4 kB / 0.6432 GB, free: 13.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01194/0.6028, allocations: 4.485 MB / 0.6476 GB, free: 8.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.6029, allocations: 8.875 kB / 0.6476 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.6029, allocations: 4 kB / 0.6476 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005374/0.6083, allocations: 1.438 MB / 0.649 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.6105, allocations: 443.2 kB / 0.6494 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02503/0.6356, allocations: 24.57 MB / 0.6734 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/0.6385, allocations: 311.6 kB / 0.6737 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/0.6388, allocations: 59.97 kB / 0.6738 GB, free: 12.12 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009037/0.6397, allocations: 439.6 kB / 0.6742 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.64, allocations: 162.1 kB / 0.6744 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.6521, allocations: 4.496 MB / 0.6787 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.6522, allocations: 12 kB / 0.6788 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/0.6522, allocations: 12 kB / 0.6788 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.6522, allocations: 7.984 kB / 0.6788 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.6678, allocations: 6.833 MB / 0.6855 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.6679, allocations: 8.344 kB / 0.6855 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/0.6698, allocations: 383.4 kB / 0.6858 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004918/0.6747, allocations: 1.31 MB / 0.6871 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002013/0.6749, allocations: 35.97 kB / 0.6871 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02493/0.6999, allocations: 23.54 MB / 0.7101 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6999, allocations: 0 / 0.7101 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/0.7118, allocations: 4.255 MB / 0.7143 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.7129, allocations: 459 kB / 0.7147 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.7132, allocations: 28.55 kB / 0.7147 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/0.7154, allocations: 307.5 kB / 0.715 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004557/0.7159, allocations: 128.7 kB / 0.7152 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.716, allocations: 51.97 kB / 0.7152 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001097/0.7171, allocations: 0.7526 MB / 0.7159 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7171, allocations: 0 / 0.7159 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002267/0.7194, allocations: 0.5781 MB / 0.7165 GB, free: 14.25 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003353/0.7198, allocations: 147 kB / 0.7167 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01238/0.7321, allocations: 5.15 MB / 0.7217 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.7322, allocations: 0 / 0.7217 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007409/0.7396, allocations: 3.507 MB / 0.7251 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/0.7429, allocations: 0.5138 MB / 0.7256 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009616/0.7526, allocations: 4.813 MB / 0.7303 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.7539, allocations: 1.47 MB / 0.7317 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/0.7546, allocations: 135.3 kB / 0.7319 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.7546, allocations: 0 / 0.7319 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.4032/1.158, allocations: 112.2 MB / 0.8415 GB, free: 83.13 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)