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.001305/0.001305, allocations: 113.9 kB / 16.41 MB, free: 6.484 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.001267/0.001267, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.314/1.314, 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.002175/0.002175, allocations: 298.6 kB / 291.5 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.9383/0.9383, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4783, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008584/0.4869, allocations: 6.141 MB / 0.7731 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006048/0.493, allocations: 3.172 MB / 0.7761 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007478/0.4938, allocations: 27.81 kB / 0.7762 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.4965, allocations: 0.9332 MB / 0.7771 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.498, allocations: 493.5 kB / 0.7776 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.4995, allocations: 0.4987 MB / 0.778 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001192/0.5007, allocations: 1.104 MB / 0.7791 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009796/0.5016, allocations: 0.6308 MB / 0.7797 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.5022, allocations: 454.3 kB / 0.7802 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.5027, allocations: 470.2 kB / 0.7806 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.987e-05/0.5028, allocations: 64 kB / 0.7807 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008193/0.5037, allocations: 483 kB / 0.7811 GB, free: 5.438 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.5039, allocations: 287.2 kB / 0.7814 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.5044, allocations: 405.9 kB / 0.7818 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.5058, allocations: 1.178 MB / 0.783 GB, free: 3.578 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5058, allocations: 3.938 kB / 0.783 GB, free: 3.574 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5058, allocations: 0 / 0.783 GB, free: 3.574 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.5059, allocations: 0 / 0.783 GB, free: 3.574 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.00159/0.5075, allocations: 1.063 MB / 0.784 GB, free: 2.457 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5075, allocations: 8.031 kB / 0.784 GB, free: 2.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.509, allocations: 231.7 kB / 0.7842 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008585/0.5099, allocations: 0.5922 MB / 0.7848 GB, free: 1.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.51, allocations: 45.67 kB / 0.7848 GB, free: 1.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.5101, allocations: 64.36 kB / 0.7849 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.5116, allocations: 1.03 MB / 0.7859 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.5116, allocations: 7.906 kB / 0.7859 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.5117, allocations: 31.98 kB / 0.786 GB, free: 320 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.469e-05/0.5118, allocations: 69.2 kB / 0.786 GB, free: 252 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.5129, allocations: 0.6996 MB / 0.7867 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005266/0.5182, allocations: 5.721 MB / 0.7923 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008545/0.5191, allocations: 0.602 MB / 0.7929 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008082/0.5199, allocations: 432.6 kB / 0.7933 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.52, allocations: 4 kB / 0.7933 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.52, allocations: 46.5 kB / 0.7933 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.655e-06/0.52, allocations: 0 / 0.7933 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004343/0.5244, allocations: 2.011 MB / 0.7953 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.5244, allocations: 55.41 kB / 0.7954 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.525, allocations: 462.8 kB / 0.7958 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.525, allocations: 33.7 kB / 0.7958 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.5253, allocations: 387 kB / 0.7962 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.5255, allocations: 161.7 kB / 0.7964 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.5256, allocations: 110.2 kB / 0.7965 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5258, allocations: 362.8 kB / 0.7968 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.5261, allocations: 241.2 kB / 0.797 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/0.5267, allocations: 461 kB / 0.7975 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008971/0.5276, allocations: 0.7408 MB / 0.7982 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5276, allocations: 8 kB / 0.7982 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001825/0.5294, allocations: 1.035 MB / 0.7992 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5294, allocations: 8 kB / 0.7992 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.5295, allocations: 8 kB / 0.7992 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009729/0.5304, allocations: 323.3 kB / 0.7995 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.5308, allocations: 95.81 kB / 0.7996 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007323/0.5381, allocations: 7.474 MB / 0.8069 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.5386, allocations: 28.02 kB / 0.807 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.5386, allocations: 28 kB / 0.807 GB, free: 9.355 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.0003582/0.539, allocations: 249.5 kB / 0.8072 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.5391, allocations: 59.28 kB / 0.8073 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.5408, allocations: 0.8964 MB / 0.8081 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5408, allocations: 4 kB / 0.8082 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5409, allocations: 4 kB / 0.8082 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5409, allocations: 3.984 kB / 0.8082 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.5435, allocations: 1.697 MB / 0.8098 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5435, allocations: 0 / 0.8098 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.5437, allocations: 43.91 kB / 0.8099 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008917/0.5446, allocations: 303.3 kB / 0.8101 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/0.5446, allocations: 12 kB / 0.8102 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007359/0.552, allocations: 7.46 MB / 0.8174 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.552, allocations: 7.938 kB / 0.8175 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.5538, allocations: 0.9953 MB / 0.8184 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.5541, allocations: 180.3 kB / 0.8186 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-05/0.5541, allocations: 11.98 kB / 0.8186 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.5544, allocations: 15.98 kB / 0.8186 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.5546, allocations: 47.88 kB / 0.8187 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.5546, allocations: 15.94 kB / 0.8187 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003623/0.555, allocations: 310.9 kB / 0.819 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.555, allocations: 4 kB / 0.819 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008277/0.5558, allocations: 196 kB / 0.8192 GB, free: 12.11 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.0001669/0.556, allocations: 107.2 kB / 0.8193 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.5579, allocations: 1.191 MB / 0.8204 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5579, allocations: 0 / 0.8204 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.5592, allocations: 0.8542 MB / 0.8213 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5603, allocations: 209.2 kB / 0.8215 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.5627, allocations: 1.298 MB / 0.8227 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/0.5635, allocations: 0.9922 MB / 0.8237 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.5636, allocations: 43.44 kB / 0.8237 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.5636, allocations: 0 / 0.8237 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of Templates: time 0.02133/0.5849, allocations: 18.71 MB / 0.842 GB, free: 4.574 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)