Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001046/0.001046, allocations: 98.91 kB / 16.35 MB, free: 5.879 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.00102/0.00102, allocations: 196.2 kB / 17.3 MB, free: 5.52 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 289.6 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9316/0.9316, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 95.5 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1678, allocations: 86.97 MB / 0.6816 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008734/0.1766, allocations: 6.81 MB / 0.6883 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3029/0.4795, allocations: 3.041 MB / 0.6912 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007542/0.4803, allocations: 29.34 kB / 0.6913 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.4828, allocations: 0.9509 MB / 0.6922 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.4842, allocations: 0.5042 MB / 0.6927 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.4856, allocations: 449.7 kB / 0.6931 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.4873, allocations: 1.225 MB / 0.6943 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009736/0.4883, allocations: 0.6582 MB / 0.6949 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.4889, allocations: 480.6 kB / 0.6954 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007112/0.4896, allocations: 0.5128 MB / 0.6959 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.4897, allocations: 67.09 kB / 0.696 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008171/0.4905, allocations: 379.2 kB / 0.6963 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.4909, allocations: 311.4 kB / 0.6966 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.4914, allocations: 456.8 kB / 0.6971 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.493, allocations: 1.219 MB / 0.6982 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.493, allocations: 0 / 0.6982 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4931, allocations: 0.8438 kB / 0.6982 GB, free: 10.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.4931, allocations: 0 / 0.6982 GB, free: 10.85 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001761/0.4948, allocations: 1.174 MB / 0.6994 GB, free: 10.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4949, allocations: 8.938 kB / 0.6994 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.4964, allocations: 239.3 kB / 0.6996 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.4974, allocations: 0.5992 MB / 0.7002 GB, free: 9.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.4974, allocations: 54.66 kB / 0.7003 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.4976, allocations: 65.36 kB / 0.7003 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.4991, allocations: 1.081 MB / 0.7014 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.4991, allocations: 10.59 kB / 0.7014 GB, free: 8.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.4992, allocations: 29.81 kB / 0.7014 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/0.4994, allocations: 84.06 kB / 0.7015 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.5007, allocations: 0.7541 MB / 0.7022 GB, free: 8.684 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004506/0.5052, allocations: 5.873 MB / 0.708 GB, free: 3.715 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009805/0.5062, allocations: 0.5686 MB / 0.7085 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.5067, allocations: 328.6 kB / 0.7088 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.5067, allocations: 6.047 kB / 0.7089 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.5068, allocations: 40.38 kB / 0.7089 GB, free: 3.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 1.523e-06/0.5068, allocations: 0 / 0.7089 GB, free: 3.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=48): time 0.003756/0.5105, allocations: 1.986 MB / 0.7108 GB, free: 2.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.5106, allocations: 58.28 kB / 0.7109 GB, free: 2.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007161/0.5113, allocations: 0.5677 MB / 0.7114 GB, free: 1.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.5113, allocations: 36.2 kB / 0.7115 GB, free: 1.898 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.5116, allocations: 416.4 kB / 0.7119 GB, free: 1.566 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.5117, allocations: 170.4 kB / 0.712 GB, free: 1.438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.5119, allocations: 128.1 kB / 0.7122 GB, free: 1.363 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.512, allocations: 379.6 kB / 0.7125 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.5124, allocations: 270.6 kB / 0.7128 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.5129, allocations: 498.6 kB / 0.7133 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000965/0.5139, allocations: 0.809 MB / 0.714 GB, free: 24 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5139, allocations: 1.938 kB / 0.714 GB, free: 24 kB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002154/0.5161, allocations: 1.101 MB / 0.7151 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.5161, allocations: 12.34 kB / 0.7151 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5161, allocations: 7.609 kB / 0.7151 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008375/0.5169, allocations: 279.9 kB / 0.7154 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.5174, allocations: 125.2 kB / 0.7155 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007359/0.5248, allocations: 7.136 MB / 0.7225 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/0.5256, allocations: 40.17 kB / 0.7225 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.5257, allocations: 27.22 kB / 0.7226 GB, free: 9.309 MB / 0.4981 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0004451/0.5262, allocations: 256.9 kB / 0.7228 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.5263, allocations: 72.64 kB / 0.7229 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.528, allocations: 0.8913 MB / 0.7237 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.528, allocations: 5 kB / 0.7237 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.528, allocations: 5.297 kB / 0.7238 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.528, allocations: 1.453 kB / 0.7238 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.531, allocations: 1.728 MB / 0.7254 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.531, allocations: 3.297 kB / 0.7254 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.5313, allocations: 60.94 kB / 0.7255 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007436/0.5321, allocations: 270.8 kB / 0.7258 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.5321, allocations: 7.938 kB / 0.7258 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006657/0.5388, allocations: 7.132 MB / 0.7327 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.5388, allocations: 6.297 kB / 0.7327 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.5404, allocations: 0.9794 MB / 0.7337 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.5409, allocations: 193.9 kB / 0.7339 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.541, allocations: 11.06 kB / 0.7339 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.5413, allocations: 37.16 kB / 0.7339 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.5415, allocations: 42.94 kB / 0.734 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.5415, allocations: 16.03 kB / 0.734 GB, free: 440 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004675/0.542, allocations: 387.6 kB / 0.7344 GB, free: 208 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.542, allocations: 0 / 0.7344 GB, free: 208 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009101/0.5429, allocations: 224.7 kB / 0.7346 GB, free: 184 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001544/0.5431, allocations: 118.4 kB / 0.7347 GB, free: 76 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002057/0.5451, allocations: 1.273 MB / 0.7359 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5451, allocations: 4.125 kB / 0.7359 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.5463, allocations: 0.892 MB / 0.7368 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000983/0.5473, allocations: 220 kB / 0.737 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.5496, allocations: 1.333 MB / 0.7383 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007445/0.5503, allocations: 1.016 MB / 0.7393 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003753/0.5507, allocations: 124.4 kB / 0.7394 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.5508, allocations: 42.84 kB / 0.7395 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.5508, allocations: 0 / 0.7395 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.01856/0.5694, allocations: 11.2 MB / 0.7504 GB, free: 5.922 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)