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.001156/0.001156, allocations: 116.1 kB / 16.42 MB, free: 5.992 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.001023/0.001023, allocations: 184.8 kB / 17.35 MB, free: 5.602 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.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003221/0.003221, allocations: 292 kB / 291.5 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.934/0.934, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 91.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4597, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01414/0.4739, allocations: 11.96 MB / 0.7787 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00963/0.4835, allocations: 5.559 MB / 0.7842 GB, free: 2.344 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.4847, allocations: 35.88 kB / 0.7842 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002789/0.4875, allocations: 1.038 MB / 0.7852 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.4891, allocations: 0.6529 MB / 0.7859 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.4914, allocations: 0.9743 MB / 0.7868 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002725/0.4941, allocations: 2.583 MB / 0.7893 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003873/0.498, allocations: 3.786 MB / 0.793 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.4998, allocations: 1.204 MB / 0.7942 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.5015, allocations: 1.328 MB / 0.7955 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.5019, allocations: 252 kB / 0.7957 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.5029, allocations: 0.5384 MB / 0.7963 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000806/0.5037, allocations: 0.9434 MB / 0.7972 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.5047, allocations: 1.058 MB / 0.7982 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.5082, allocations: 3.833 MB / 0.802 GB, free: 48 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.5082, allocations: 4 kB / 0.802 GB, free: 44 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.634e-06/0.5082, allocations: 0 / 0.802 GB, free: 44 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.548e-05/0.5083, allocations: 0 / 0.802 GB, free: 44 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.003801/0.5121, allocations: 2.081 MB / 0.804 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5121, allocations: 8.031 kB / 0.804 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.5151, allocations: 0.6933 MB / 0.8047 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.517, allocations: 1.224 MB / 0.8059 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.014e-05/0.5171, allocations: 127.6 kB / 0.806 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/0.5174, allocations: 160.1 kB / 0.8062 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/0.5219, allocations: 2.933 MB / 0.809 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/0.522, allocations: 3.984 kB / 0.809 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.5222, allocations: 83.84 kB / 0.8091 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003545/0.5225, allocations: 163.1 kB / 0.8093 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003693/0.5262, allocations: 2.487 MB / 0.8117 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/0.5383, allocations: 10.69 MB / 0.8221 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.5396, allocations: 0.9111 MB / 0.823 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.5403, allocations: 0.4932 MB / 0.8235 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.5405, allocations: 97.47 kB / 0.8236 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.5405, allocations: 34.94 kB / 0.8236 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=46): time 2.665e-06/0.5405, allocations: 4 kB / 0.8236 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.02643/0.567, allocations: 7.697 MB / 0.8311 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.5671, allocations: 59.97 kB / 0.8312 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.5686, allocations: 0.9221 MB / 0.8321 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.5688, allocations: 41.7 kB / 0.8321 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.5693, allocations: 0.7735 MB / 0.8329 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.5696, allocations: 252.5 kB / 0.8331 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.5701, allocations: 214.8 kB / 0.8333 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.5703, allocations: 394.8 kB / 0.8337 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.5715, allocations: 0.7827 MB / 0.8345 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.573, allocations: 1.124 MB / 0.8356 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.5757, allocations: 1.95 MB / 0.8375 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.5757, allocations: 4 kB / 0.8375 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009625/0.5853, allocations: 3.604 MB / 0.841 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.5854, allocations: 12 kB / 0.841 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.5854, allocations: 8 kB / 0.841 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007772/0.5932, allocations: 1.905 MB / 0.8429 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/0.5942, allocations: 223.6 kB / 0.8431 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/0.611, allocations: 10.58 MB / 0.8534 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.6126, allocations: 179.6 kB / 0.8536 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.6128, allocations: 47.98 kB / 0.8537 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002384/0.6152, allocations: 1.49 MB / 0.8551 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001509/0.6167, allocations: 1.104 MB / 0.8562 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002686/0.6194, allocations: 1.888 MB / 0.858 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.141e-05/0.6195, allocations: 4 kB / 0.858 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007853/0.6273, allocations: 3.045 MB / 0.861 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6274, allocations: 10.97 kB / 0.861 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.6274, allocations: 15.94 kB / 0.861 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004916/0.6323, allocations: 1.199 MB / 0.8622 GB, free: 168 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.6334, allocations: 271.5 kB / 0.8625 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008859/0.6423, allocations: 5.836 MB / 0.8682 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.6437, allocations: 171.7 kB / 0.8683 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.6439, allocations: 47.98 kB / 0.8684 GB, free: 9.703 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.000399/0.6443, allocations: 248 kB / 0.8686 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.6446, allocations: 86.97 kB / 0.8687 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00876/0.6534, allocations: 3.14 MB / 0.8718 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.6534, allocations: 3.984 kB / 0.8718 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6534, allocations: 3.938 kB / 0.8718 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.654, allocations: 316 kB / 0.8721 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.6542, allocations: 12 kB / 0.8721 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/0.6552, allocations: 135.8 kB / 0.8722 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.6555, allocations: 68.53 kB / 0.8723 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006699/0.6622, allocations: 2.831 MB / 0.875 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003428/0.6657, allocations: 2.379 MB / 0.8774 GB, free: 428 kB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001067/0.6668, allocations: 0.7624 MB / 0.8781 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001006/0.6678, allocations: 0.6629 MB / 0.8788 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of Backend: time 3.81e-07/0.6678, allocations: 4 kB / 0.8788 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006149/0.6739, allocations: 3.104 MB / 0.8818 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of SimCode: time 0.006082/0.6801, allocations: 3.733 MB / 0.8854 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of Templates: time 0.05296/0.733, allocations: 34.35 MB / 0.919 GB, free: 5.984 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)