Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.005355/0.005355, allocations: 102 kB / 15.73 MB, free: 6.051 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.001622/0.001622, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.331/1.331, allocations: 222.9 MB / 240.4 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.002056/0.002056, allocations: 292.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9426/0.9426, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 103.8 kB / 0.6815 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3815, allocations: 86.97 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007015/0.3886, allocations: 6.141 MB / 0.7724 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004316/0.3929, allocations: 3.164 MB / 0.7755 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.3932, allocations: 35.69 kB / 0.7755 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.3954, allocations: 0.9372 MB / 0.7764 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009406/0.3963, allocations: 489.5 kB / 0.7769 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3974, allocations: 0.4965 MB / 0.7774 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009191/0.3983, allocations: 1.1 MB / 0.7785 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007638/0.3991, allocations: 0.6385 MB / 0.7791 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004253/0.3995, allocations: 450.4 kB / 0.7795 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000468/0.4, allocations: 474.1 kB / 0.78 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/0.4001, allocations: 60 kB / 0.78 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006636/0.4008, allocations: 487 kB / 0.7805 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.401, allocations: 283.2 kB / 0.7808 GB, free: 5.137 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.4014, allocations: 405.9 kB / 0.7811 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.4024, allocations: 1.182 MB / 0.7823 GB, free: 3.555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4025, allocations: 0 / 0.7823 GB, free: 3.555 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4025, allocations: 0 / 0.7823 GB, free: 3.555 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.4025, allocations: 4 kB / 0.7823 GB, free: 3.551 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001424/0.4039, allocations: 1.063 MB / 0.7833 GB, free: 2.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.4039, allocations: 8.031 kB / 0.7833 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.4054, allocations: 223.7 kB / 0.7836 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.4063, allocations: 0.5921 MB / 0.7841 GB, free: 1.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.4063, allocations: 45.67 kB / 0.7842 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.956e-05/0.4064, allocations: 64.36 kB / 0.7842 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.4077, allocations: 1.034 MB / 0.7852 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.4078, allocations: 11.84 kB / 0.7853 GB, free: 328 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.4078, allocations: 27.98 kB / 0.7853 GB, free: 300 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-05/0.4079, allocations: 69.27 kB / 0.7854 GB, free: 232 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009786/0.4089, allocations: 0.6957 MB / 0.786 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.4132, allocations: 5.729 MB / 0.7916 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.414, allocations: 0.5966 MB / 0.7922 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007613/0.4148, allocations: 444.5 kB / 0.7926 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4148, allocations: 4 kB / 0.7926 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.4148, allocations: 38.56 kB / 0.7927 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 1.743e-06/0.4148, allocations: 0 / 0.7927 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.003989/0.4188, allocations: 2.007 MB / 0.7946 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.4189, allocations: 55.41 kB / 0.7947 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.4193, allocations: 470.8 kB / 0.7951 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.4193, allocations: 29.7 kB / 0.7952 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.4196, allocations: 391 kB / 0.7955 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4197, allocations: 149.8 kB / 0.7957 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.4198, allocations: 110.2 kB / 0.7958 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.42, allocations: 366.8 kB / 0.7961 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.4203, allocations: 237.2 kB / 0.7964 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.4207, allocations: 461 kB / 0.7968 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/0.4216, allocations: 0.7487 MB / 0.7975 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4216, allocations: 4 kB / 0.7975 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001688/0.4233, allocations: 1.03 MB / 0.7985 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4233, allocations: 11.94 kB / 0.7986 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4233, allocations: 8 kB / 0.7986 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009724/0.4243, allocations: 323.8 kB / 0.7989 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.4246, allocations: 103.8 kB / 0.799 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006568/0.4312, allocations: 7.466 MB / 0.8063 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.4315, allocations: 32.02 kB / 0.8063 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.4316, allocations: 28 kB / 0.8063 GB, free: 9.336 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 (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.0002714/0.4319, allocations: 241.6 kB / 0.8065 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.432, allocations: 59.28 kB / 0.8066 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.4336, allocations: 0.8964 MB / 0.8075 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.4336, allocations: 8.281 kB / 0.8075 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4336, allocations: 4 kB / 0.8075 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4336, allocations: 3.984 kB / 0.8075 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.4361, allocations: 1.693 MB / 0.8091 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4361, allocations: 4 kB / 0.8092 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.4363, allocations: 40.16 kB / 0.8092 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008832/0.4372, allocations: 311.1 kB / 0.8095 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.4372, allocations: 8 kB / 0.8095 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006489/0.4437, allocations: 7.468 MB / 0.8168 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.4437, allocations: 7.938 kB / 0.8168 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.4452, allocations: 0.9915 MB / 0.8178 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.4454, allocations: 172.3 kB / 0.8179 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/0.4455, allocations: 11.98 kB / 0.8179 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.4458, allocations: 19.98 kB / 0.818 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.4459, allocations: 43.88 kB / 0.818 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.4459, allocations: 16.28 kB / 0.818 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003023/0.4462, allocations: 314.9 kB / 0.8183 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4463, allocations: 0 / 0.8183 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006536/0.4469, allocations: 195.9 kB / 0.8185 GB, free: 12.1 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 (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.0001303/0.4471, allocations: 111.2 kB / 0.8186 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.4487, allocations: 1.191 MB / 0.8198 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4488, allocations: 4 kB / 0.8198 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.4499, allocations: 0.8581 MB / 0.8206 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009543/0.4509, allocations: 220.2 kB / 0.8208 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.4526, allocations: 1.235 MB / 0.822 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.4531, allocations: 0.9921 MB / 0.823 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002419/0.4533, allocations: 97.28 kB / 0.8231 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.4534, allocations: 39.44 kB / 0.8231 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.4534, allocations: 0 / 0.8231 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of Templates: time 0.01532/0.4688, allocations: 9.991 MB / 0.8329 GB, free: 13.31 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)