Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.00146/0.00146, allocations: 192.3 kB / 17.35 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002156/0.002155, allocations: 291.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.9747/0.9747, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 91.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.407, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01551/0.4226, allocations: 11.96 MB / 0.7787 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009186/0.4318, allocations: 5.556 MB / 0.7842 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.433, allocations: 39.88 kB / 0.7842 GB, free: 2.324 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002909/0.436, allocations: 1.033 MB / 0.7852 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.4376, allocations: 0.6647 MB / 0.7859 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.4399, allocations: 0.9768 MB / 0.7868 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002694/0.4427, allocations: 2.587 MB / 0.7893 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004186/0.4469, allocations: 3.793 MB / 0.793 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.4484, allocations: 1.2 MB / 0.7942 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.4503, allocations: 1.324 MB / 0.7955 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005023/0.4508, allocations: 256 kB / 0.7958 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.452, allocations: 0.5345 MB / 0.7963 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000998/0.453, allocations: 0.9473 MB / 0.7972 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.4545, allocations: 1.066 MB / 0.7982 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003863/0.4583, allocations: 3.826 MB / 0.802 GB, free: 52 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4583, allocations: 0 / 0.802 GB, free: 52 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4583, allocations: 0 / 0.802 GB, free: 52 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001259/0.4585, allocations: 0 / 0.802 GB, free: 52 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004868/0.4634, allocations: 2.089 MB / 0.804 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4634, allocations: 8.031 kB / 0.804 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.4666, allocations: 0.6894 MB / 0.8047 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.4693, allocations: 1.228 MB / 0.8059 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.513e-05/0.4694, allocations: 123.6 kB / 0.806 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003627/0.4698, allocations: 160.1 kB / 0.8062 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004908/0.4747, allocations: 2.936 MB / 0.809 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.4748, allocations: 7.938 kB / 0.809 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.475, allocations: 71.97 kB / 0.8091 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003602/0.4753, allocations: 163.1 kB / 0.8093 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003723/0.4791, allocations: 2.483 MB / 0.8117 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.491, allocations: 10.7 MB / 0.8221 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.4923, allocations: 0.9107 MB / 0.823 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.4929, allocations: 0.4945 MB / 0.8235 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.4931, allocations: 93.45 kB / 0.8236 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4931, allocations: 38.94 kB / 0.8236 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=46): time 2.275e-06/0.4931, allocations: 3.938 kB / 0.8236 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.02587/0.519, allocations: 7.705 MB / 0.8312 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.5191, allocations: 55.97 kB / 0.8312 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.5205, allocations: 0.9259 MB / 0.8321 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.5206, allocations: 45.7 kB / 0.8322 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000683/0.5213, allocations: 0.7697 MB / 0.8329 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.5216, allocations: 244.5 kB / 0.8332 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/0.522, allocations: 210.8 kB / 0.8334 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002633/0.5222, allocations: 402.7 kB / 0.8337 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.5235, allocations: 0.775 MB / 0.8345 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.5251, allocations: 1.128 MB / 0.8356 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/0.5279, allocations: 1.943 MB / 0.8375 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.5279, allocations: 4 kB / 0.8375 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009974/0.5379, allocations: 3.608 MB / 0.841 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.5379, allocations: 12 kB / 0.841 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.795e-05/0.538, allocations: 16 kB / 0.841 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008142/0.5461, allocations: 1.908 MB / 0.8429 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009692/0.5471, allocations: 223.6 kB / 0.8431 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/0.5639, allocations: 10.57 MB / 0.8534 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.5655, allocations: 179.6 kB / 0.8536 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.5657, allocations: 44 kB / 0.8537 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002523/0.5682, allocations: 1.5 MB / 0.8551 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001571/0.5698, allocations: 1.1 MB / 0.8562 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002822/0.5727, allocations: 1.892 MB / 0.858 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.054e-05/0.5727, allocations: 0 / 0.858 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.00796/0.5807, allocations: 3.041 MB / 0.861 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5807, allocations: 8 kB / 0.861 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.381e-05/0.5807, allocations: 15.94 kB / 0.861 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005036/0.5858, allocations: 1.21 MB / 0.8622 GB, free: 168 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.5869, allocations: 271.6 kB / 0.8625 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008926/0.5958, allocations: 5.835 MB / 0.8682 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.5973, allocations: 167.7 kB / 0.8683 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.5974, allocations: 48 kB / 0.8684 GB, free: 9.711 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003535/0.5978, allocations: 248 kB / 0.8686 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.598, allocations: 86.95 kB / 0.8687 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009085/0.6071, allocations: 3.14 MB / 0.8718 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.6071, allocations: 3.984 kB / 0.8718 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6071, allocations: 0 / 0.8718 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007294/0.6079, allocations: 320 kB / 0.8721 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.6081, allocations: 12 kB / 0.8721 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009814/0.6091, allocations: 131.8 kB / 0.8722 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.6094, allocations: 68.53 kB / 0.8723 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006878/0.6163, allocations: 2.831 MB / 0.875 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003399/0.6197, allocations: 2.383 MB / 0.8774 GB, free: 436 kB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001085/0.6208, allocations: 0.7663 MB / 0.8781 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009623/0.6218, allocations: 0.6629 MB / 0.8788 GB, free: 15 MB / 0.6544 GB Notification: Performance of Backend: time 6.91e-07/0.6218, allocations: 0 / 0.8788 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006089/0.6279, allocations: 3.102 MB / 0.8818 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of SimCode: time 0.006037/0.6339, allocations: 3.731 MB / 0.8854 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of Templates: time 0.05231/0.6862, allocations: 34.36 MB / 0.919 GB, free: 5.992 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)