Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 118.7 kB / 16.42 MB, free: 6.5 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.001074/0.001074, allocations: 183.9 kB / 17.35 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 286.5 kB / 291.5 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.9785/0.9785, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 91.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4766, allocations: 86.98 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03871/0.5154, allocations: 33.31 MB / 0.7996 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02364/0.5391, allocations: 14.83 MB / 0.8141 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00456/0.5437, allocations: 159.2 kB / 0.8142 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009842/0.5535, allocations: 3.659 MB / 0.8178 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.5636, allocations: 2.991 MB / 0.8207 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006797/0.5704, allocations: 2.333 MB / 0.823 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01266/0.5831, allocations: 8.833 MB / 0.8316 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01367/0.5968, allocations: 9.573 MB / 0.841 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007649/0.6045, allocations: 4.02 MB / 0.8449 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007159/0.6117, allocations: 4.034 MB / 0.8488 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002264/0.614, allocations: 0.7148 MB / 0.8495 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00519/0.6192, allocations: 1.72 MB / 0.8512 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004591/0.6239, allocations: 2.83 MB / 0.854 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007567/0.6315, allocations: 3.388 MB / 0.8573 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.6465, allocations: 11.18 MB / 0.8682 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6466, allocations: 0 / 0.8682 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6466, allocations: 0 / 0.8682 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003568/0.6469, allocations: 0 / 0.8682 GB, free: 11.99 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01638/0.6633, allocations: 5.991 MB / 0.8741 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.6634, allocations: 12.03 kB / 0.8741 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006738/0.6701, allocations: 1.134 MB / 0.8752 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007161/0.6773, allocations: 3.523 MB / 0.8786 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.6776, allocations: 374.4 kB / 0.879 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008371/0.6785, allocations: 496 kB / 0.8795 GB, free: 320 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.6911, allocations: 8.009 MB / 0.8873 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.6912, allocations: 23.75 kB / 0.8873 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005198/0.6918, allocations: 219.9 kB / 0.8875 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001045/0.6928, allocations: 437.6 kB / 0.8879 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008993/0.7018, allocations: 6.081 MB / 0.8939 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/0.7428, allocations: 34.89 MB / 0.9279 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.7456, allocations: 2.038 MB / 0.9299 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002395/0.748, allocations: 1.865 MB / 0.9317 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.7482, allocations: 18 kB / 0.9318 GB, free: 7.27 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.7482, allocations: 64.5 kB / 0.9318 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=171): time 4.048e-06/0.7482, allocations: 0 / 0.9318 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276): time 0.1552/0.9035, allocations: 38.89 MB / 0.9698 GB, free: 204 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.9036, allocations: 81.58 kB / 0.9699 GB, free: 108 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3842/1.288, allocations: 2.279 MB / 0.9721 GB, free: 184 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005408/1.288, allocations: 73.41 kB / 0.9722 GB, free: 184 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.29, allocations: 2.271 MB / 0.9744 GB, free: 183 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008644/1.291, allocations: 0.9389 MB / 0.9753 GB, free: 182.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009883/1.292, allocations: 0.5071 MB / 0.9758 GB, free: 182.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.518e-05/1.292, allocations: 301.9 kB / 0.9761 GB, free: 181.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/1.295, allocations: 1.975 MB / 0.978 GB, free: 181 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003029/1.298, allocations: 2.601 MB / 0.9806 GB, free: 179.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005471/1.303, allocations: 4.942 MB / 0.9854 GB, free: 176.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.303, allocations: 3.938 kB / 0.9854 GB, free: 176.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01292/1.316, allocations: 7.749 MB / 0.993 GB, free: 173.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/1.316, allocations: 19.12 kB / 0.993 GB, free: 173.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/1.316, allocations: 15.19 kB / 0.993 GB, free: 173.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008503/1.325, allocations: 3.218 MB / 0.9961 GB, free: 173 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/1.327, allocations: 403 kB / 0.9965 GB, free: 173 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0367/1.363, allocations: 33.85 MB / 1.03 GB, free: 141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/1.367, allocations: 167.8 kB / 1.03 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000363/1.367, allocations: 112 kB / 1.03 GB, free: 140.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002916/1.37, allocations: 1.799 MB / 1.032 GB, free: 138.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006678/1.371, allocations: 332.1 kB / 1.032 GB, free: 138.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/1.383, allocations: 7.36 MB / 1.039 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/1.383, allocations: 14.69 kB / 1.039 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.383, allocations: 4.594 kB / 1.039 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/1.385, allocations: 0.8055 MB / 1.04 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005933/1.385, allocations: 44.5 kB / 1.04 GB, free: 130.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.387, allocations: 135.8 kB / 1.04 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006037/1.388, allocations: 325.6 kB / 1.04 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01515/1.403, allocations: 7.964 MB / 1.048 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008299/1.411, allocations: 6.977 MB / 1.055 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002377/1.414, allocations: 2.277 MB / 1.057 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002253/1.416, allocations: 1.525 MB / 1.059 GB, free: 111 MB / 0.7325 GB Notification: Performance of Backend: time 5.01e-07/1.416, allocations: 0 / 1.059 GB, free: 111 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.428, allocations: 5.895 MB / 1.064 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01677/1.445, allocations: 11.25 MB / 1.075 GB, free: 93.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.1043/1.55, allocations: 79.93 MB / 1.153 GB, free: 15.14 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)