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.005879/0.005879, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001241/0.001241, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 279.3 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9209/0.9209, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 99.8 kB / 0.6815 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3941, allocations: 86.98 MB / 0.7664 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008032/0.4022, allocations: 6.79 MB / 0.773 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004674/0.4069, allocations: 3.059 MB / 0.776 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.4073, allocations: 27.81 kB / 0.776 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.4097, allocations: 0.9585 MB / 0.777 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.4108, allocations: 0.5168 MB / 0.7775 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009681/0.4118, allocations: 453.5 kB / 0.7779 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.4129, allocations: 1.232 MB / 0.7791 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008399/0.4137, allocations: 0.6545 MB / 0.7798 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.4143, allocations: 482.3 kB / 0.7802 GB, free: 5.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006404/0.4149, allocations: 0.5214 MB / 0.7807 GB, free: 5.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.415, allocations: 64 kB / 0.7808 GB, free: 5.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006128/0.4156, allocations: 375.3 kB / 0.7811 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002836/0.4159, allocations: 311.2 kB / 0.7814 GB, free: 4.516 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.4164, allocations: 453.7 kB / 0.7819 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.4175, allocations: 1.221 MB / 0.7831 GB, free: 2.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4176, allocations: 4 kB / 0.7831 GB, free: 2.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4176, allocations: 0 / 0.7831 GB, free: 2.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.4176, allocations: 0 / 0.7831 GB, free: 2.844 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.001861/0.4194, allocations: 1.168 MB / 0.7842 GB, free: 1.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4195, allocations: 8.031 kB / 0.7842 GB, free: 1.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.4211, allocations: 235.5 kB / 0.7844 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000865/0.422, allocations: 0.6038 MB / 0.785 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.422, allocations: 53.61 kB / 0.7851 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.724e-05/0.4221, allocations: 64.38 kB / 0.7851 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.4235, allocations: 1.081 MB / 0.7862 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.4236, allocations: 11.92 kB / 0.7862 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.012e-05/0.4237, allocations: 31.98 kB / 0.7862 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.4238, allocations: 89.19 kB / 0.7863 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.425, allocations: 0.7543 MB / 0.7871 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004921/0.4299, allocations: 5.874 MB / 0.7928 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009508/0.4308, allocations: 0.5636 MB / 0.7934 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.4313, allocations: 326 kB / 0.7937 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.4314, allocations: 4.438 kB / 0.7937 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.4314, allocations: 42.94 kB / 0.7937 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.986e-06/0.4314, allocations: 0 / 0.7937 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003812/0.4353, allocations: 1.986 MB / 0.7956 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.4353, allocations: 59.84 kB / 0.7957 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.4359, allocations: 0.5548 MB / 0.7962 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.4359, allocations: 33.7 kB / 0.7963 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.4362, allocations: 426.9 kB / 0.7967 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.4363, allocations: 165.6 kB / 0.7968 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.4365, allocations: 126.5 kB / 0.797 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4367, allocations: 378.7 kB / 0.7973 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.4371, allocations: 281.8 kB / 0.7976 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.4377, allocations: 493 kB / 0.7981 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009943/0.4387, allocations: 0.8093 MB / 0.7989 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.4387, allocations: 4 kB / 0.7989 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00175/0.4405, allocations: 1.087 MB / 0.7999 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4405, allocations: 8.125 kB / 0.7999 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4405, allocations: 11.98 kB / 0.7999 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008414/0.4414, allocations: 279.1 kB / 0.8002 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.4418, allocations: 119.8 kB / 0.8003 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/0.4482, allocations: 7.138 MB / 0.8073 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.4488, allocations: 35.97 kB / 0.8073 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.4488, allocations: 35.98 kB / 0.8074 GB, free: 8.398 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.0003524/0.4492, allocations: 255.9 kB / 0.8076 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.4493, allocations: 71.16 kB / 0.8077 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.4509, allocations: 0.8965 MB / 0.8085 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4509, allocations: 4 kB / 0.8086 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4509, allocations: 4 kB / 0.8086 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4509, allocations: 0 / 0.8086 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.4534, allocations: 1.721 MB / 0.8102 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4534, allocations: 8.188 kB / 0.8102 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.4537, allocations: 67.77 kB / 0.8103 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007385/0.4544, allocations: 267.1 kB / 0.8106 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.4545, allocations: 12 kB / 0.8106 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006185/0.4607, allocations: 7.122 MB / 0.8175 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4607, allocations: 4.031 kB / 0.8175 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.4621, allocations: 0.9796 MB / 0.8185 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.4624, allocations: 188.2 kB / 0.8187 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.324e-05/0.4625, allocations: 12 kB / 0.8187 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.4629, allocations: 27.91 kB / 0.8187 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.463, allocations: 51.88 kB / 0.8188 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.463, allocations: 16 kB / 0.8188 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003966/0.4634, allocations: 387.1 kB / 0.8191 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4634, allocations: 0 / 0.8191 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007457/0.4642, allocations: 228 kB / 0.8194 GB, free: 11.35 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.0001486/0.4643, allocations: 119.1 kB / 0.8195 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.4662, allocations: 1.283 MB / 0.8207 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4662, allocations: 128 / 0.8207 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.4674, allocations: 0.8932 MB / 0.8216 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009768/0.4684, allocations: 225.6 kB / 0.8218 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.4704, allocations: 1.319 MB / 0.8231 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.4709, allocations: 1.013 MB / 0.8241 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003264/0.4712, allocations: 126 kB / 0.8242 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.4714, allocations: 39.44 kB / 0.8242 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.4714, allocations: 4 kB / 0.8243 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of Templates: time 0.01803/0.4894, allocations: 11.33 MB / 0.8353 GB, free: 10.96 MB / 0.6075 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)