Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 108.9 kB / 16.36 MB, free: 5.824 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.001067/0.001067, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 299 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9031/0.9031, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 90.36 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1604, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007379/0.1678, allocations: 6.063 MB / 0.6875 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2774/0.4453, allocations: 3.132 MB / 0.6906 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.446, allocations: 30.73 kB / 0.6906 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.4482, allocations: 0.9329 MB / 0.6915 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.4494, allocations: 470.5 kB / 0.692 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.4507, allocations: 487 kB / 0.6924 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.4519, allocations: 1.095 MB / 0.6935 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008042/0.4527, allocations: 0.6482 MB / 0.6941 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.4533, allocations: 433 kB / 0.6946 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.4538, allocations: 473.8 kB / 0.695 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.4539, allocations: 62.94 kB / 0.6951 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008328/0.4547, allocations: 484.1 kB / 0.6955 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.455, allocations: 289 kB / 0.6958 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.4553, allocations: 402.2 kB / 0.6962 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.4566, allocations: 1.171 MB / 0.6973 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4566, allocations: 0 / 0.6973 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4566, allocations: 3.938 kB / 0.6973 GB, free: 11.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.4566, allocations: 0.9375 kB / 0.6973 GB, free: 11.32 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001397/0.458, allocations: 1.052 MB / 0.6984 GB, free: 10.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.4581, allocations: 9.688 kB / 0.6984 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.4595, allocations: 218.8 kB / 0.6986 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/0.4604, allocations: 0.5842 MB / 0.6992 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.4605, allocations: 50.94 kB / 0.6992 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.4606, allocations: 65.36 kB / 0.6993 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.4618, allocations: 1.026 MB / 0.7003 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.4618, allocations: 16.69 kB / 0.7003 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.4619, allocations: 31.92 kB / 0.7003 GB, free: 9.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-05/0.462, allocations: 65.19 kB / 0.7004 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009404/0.4629, allocations: 0.6953 MB / 0.7011 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/0.4667, allocations: 5.732 MB / 0.7067 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.4674, allocations: 0.5955 MB / 0.7072 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000702/0.4681, allocations: 417.1 kB / 0.7076 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.4682, allocations: 7.5 kB / 0.7076 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.4682, allocations: 33.31 kB / 0.7077 GB, free: 3.766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.893e-06/0.4682, allocations: 0 / 0.7077 GB, free: 3.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.004069/0.4723, allocations: 2.056 MB / 0.7097 GB, free: 2.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.4723, allocations: 55.62 kB / 0.7097 GB, free: 2.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.4728, allocations: 457.8 kB / 0.7102 GB, free: 2.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.4728, allocations: 31.39 kB / 0.7102 GB, free: 2.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.473, allocations: 388.7 kB / 0.7106 GB, free: 2.094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.133e-05/0.4731, allocations: 154 kB / 0.7107 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.4733, allocations: 112.9 kB / 0.7108 GB, free: 1.914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.4734, allocations: 372.7 kB / 0.7112 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.4737, allocations: 244.7 kB / 0.7114 GB, free: 1.488 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.4742, allocations: 463.7 kB / 0.7119 GB, free: 1.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/0.475, allocations: 0.7542 MB / 0.7126 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.475, allocations: 2.188 kB / 0.7126 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001803/0.4768, allocations: 1.055 MB / 0.7136 GB, free: 184 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4768, allocations: 14.22 kB / 0.7136 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4768, allocations: 8.453 kB / 0.7136 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009864/0.4778, allocations: 333.8 kB / 0.714 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.4781, allocations: 97.28 kB / 0.7141 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006893/0.485, allocations: 7.51 MB / 0.7214 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.4856, allocations: 29.22 kB / 0.7214 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.4856, allocations: 26.14 kB / 0.7214 GB, free: 9.672 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003661/0.486, allocations: 252.6 kB / 0.7217 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.4861, allocations: 61.5 kB / 0.7217 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.4877, allocations: 0.9161 MB / 0.7226 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4877, allocations: 8.25 kB / 0.7226 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4877, allocations: 4.062 kB / 0.7227 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4877, allocations: 2.984 kB / 0.7227 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.4904, allocations: 1.715 MB / 0.7243 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4904, allocations: 2.016 kB / 0.7243 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.4906, allocations: 37.59 kB / 0.7244 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008631/0.4914, allocations: 319.8 kB / 0.7247 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.4915, allocations: 11.88 kB / 0.7247 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00653/0.498, allocations: 7.518 MB / 0.732 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.4981, allocations: 3.062 kB / 0.732 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.4998, allocations: 1.007 MB / 0.733 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.5001, allocations: 180.8 kB / 0.7332 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.5002, allocations: 12.62 kB / 0.7332 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.5004, allocations: 20.36 kB / 0.7332 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.5006, allocations: 42.38 kB / 0.7333 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.5006, allocations: 13.12 kB / 0.7333 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003491/0.501, allocations: 306.1 kB / 0.7336 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.501, allocations: 3.938 kB / 0.7336 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008641/0.5018, allocations: 193.2 kB / 0.7337 GB, free: 496 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.502, allocations: 114.9 kB / 0.7339 GB, free: 388 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.5039, allocations: 1.209 MB / 0.735 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5039, allocations: 0 / 0.735 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.5051, allocations: 0.8596 MB / 0.7359 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009132/0.506, allocations: 207 kB / 0.7361 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.5081, allocations: 1.219 MB / 0.7373 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.5087, allocations: 0.9951 MB / 0.7382 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.509, allocations: 97.36 kB / 0.7383 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.5091, allocations: 34.94 kB / 0.7384 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of SimCode: time 5.92e-07/0.5091, allocations: 0 / 0.7384 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.01584/0.5249, allocations: 9.973 MB / 0.7481 GB, free: 7.98 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)