Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001654/0.001654, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001799/0.001799, allocations: 184 kB / 17.34 MB, free: 5.738 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.411/1.411, 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.002598/0.002598, allocations: 291.5 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 96.22 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4021, allocations: 86.97 MB / 0.7671 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009018/0.4111, allocations: 6.744 MB / 0.7736 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005372/0.4164, allocations: 3.036 MB / 0.7766 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.4169, allocations: 23.88 kB / 0.7766 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.4194, allocations: 0.9547 MB / 0.7776 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.4207, allocations: 0.5246 MB / 0.7781 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.4217, allocations: 429.6 kB / 0.7785 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.4232, allocations: 1.224 MB / 0.7797 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000831/0.4241, allocations: 0.5216 MB / 0.7802 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006798/0.4247, allocations: 490.3 kB / 0.7807 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006768/0.4254, allocations: 0.5137 MB / 0.7812 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.4255, allocations: 64 kB / 0.7812 GB, free: 5.418 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007364/0.4263, allocations: 375.3 kB / 0.7816 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.4266, allocations: 315.1 kB / 0.7819 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000446/0.427, allocations: 445.7 kB / 0.7823 GB, free: 4.305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.4284, allocations: 1.22 MB / 0.7835 GB, free: 3.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4284, allocations: 8 kB / 0.7835 GB, free: 3.078 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4284, allocations: 0 / 0.7835 GB, free: 3.078 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.4284, allocations: 0 / 0.7835 GB, free: 3.078 MB / 0.545 GB 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.002009/0.4304, allocations: 1.191 MB / 0.7847 GB, free: 1.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4305, allocations: 12.03 kB / 0.7847 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.4321, allocations: 236.1 kB / 0.7849 GB, free: 1.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.4331, allocations: 0.6042 MB / 0.7855 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.4332, allocations: 45.69 kB / 0.7855 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.4333, allocations: 64.36 kB / 0.7856 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.435, allocations: 1.085 MB / 0.7867 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.435, allocations: 7.938 kB / 0.7867 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.4351, allocations: 31.98 kB / 0.7867 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/0.4353, allocations: 85.25 kB / 0.7868 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.4365, allocations: 0.7504 MB / 0.7875 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006093/0.4426, allocations: 5.882 MB / 0.7933 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.4437, allocations: 0.5122 MB / 0.7938 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.4441, allocations: 290 kB / 0.794 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.4442, allocations: 4.438 kB / 0.794 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.4442, allocations: 46.94 kB / 0.7941 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.484e-06/0.4442, allocations: 0 / 0.7941 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.004193/0.4484, allocations: 1.984 MB / 0.796 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.4485, allocations: 55.84 kB / 0.7961 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/0.4491, allocations: 0.5587 MB / 0.7966 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.4492, allocations: 33.7 kB / 0.7966 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.4495, allocations: 432 kB / 0.7971 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.4497, allocations: 182.5 kB / 0.7972 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.4499, allocations: 122.6 kB / 0.7973 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.4501, allocations: 382.7 kB / 0.7977 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.4506, allocations: 273.8 kB / 0.798 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.4512, allocations: 493 kB / 0.7984 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.4523, allocations: 0.8016 MB / 0.7992 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4523, allocations: 4 kB / 0.7992 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001989/0.4543, allocations: 1.079 MB / 0.8003 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.4543, allocations: 8 kB / 0.8003 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4543, allocations: 8 kB / 0.8003 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009029/0.4552, allocations: 283.8 kB / 0.8006 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.4557, allocations: 127.8 kB / 0.8007 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007352/0.4631, allocations: 7.13 MB / 0.8077 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.4637, allocations: 43.95 kB / 0.8077 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.4638, allocations: 28 kB / 0.8077 GB, free: 8.703 MB / 0.5762 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.0004192/0.4642, allocations: 259.9 kB / 0.808 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.4643, allocations: 75.53 kB / 0.808 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.466, allocations: 0.8768 MB / 0.8089 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.466, allocations: 8 kB / 0.8089 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.466, allocations: 7.938 kB / 0.8089 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.466, allocations: 0 / 0.8089 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.4688, allocations: 1.729 MB / 0.8106 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4688, allocations: 0 / 0.8106 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4691, allocations: 59.89 kB / 0.8107 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/0.4699, allocations: 267.6 kB / 0.8109 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.47, allocations: 16 kB / 0.8109 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007311/0.4773, allocations: 7.13 MB / 0.8179 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4773, allocations: 0 / 0.8179 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.479, allocations: 0.9761 MB / 0.8188 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.4793, allocations: 192.6 kB / 0.819 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.4794, allocations: 12 kB / 0.819 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.4798, allocations: 27.91 kB / 0.8191 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.4799, allocations: 47.88 kB / 0.8191 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.4799, allocations: 20 kB / 0.8191 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004663/0.4804, allocations: 383.1 kB / 0.8195 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4804, allocations: 0 / 0.8195 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008375/0.4812, allocations: 224 kB / 0.8197 GB, free: 11.67 MB / 0.5919 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.0001799/0.4814, allocations: 111.2 kB / 0.8198 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.4835, allocations: 1.236 MB / 0.821 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4835, allocations: 0 / 0.821 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.4848, allocations: 0.8657 MB / 0.8219 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4858, allocations: 222.4 kB / 0.8221 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.4881, allocations: 1.368 MB / 0.8234 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/0.4888, allocations: 1.009 MB / 0.8244 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003508/0.4892, allocations: 114 kB / 0.8245 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.4893, allocations: 43.42 kB / 0.8246 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.4893, allocations: 0 / 0.8246 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of Templates: time 0.02176/0.511, allocations: 11.39 MB / 0.8357 GB, free: 11.28 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)