Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001178/0.001178, allocations: 110.7 kB / 17.09 MB, free: 5.984 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.001646/0.001646, allocations: 189.6 kB / 18.02 MB, free: 5.074 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7618/0.7618, allocations: 122.9 MB / 414.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.72 kB / 0.5691 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1861, allocations: 77.94 MB / 0.6452 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01594/0.2021, allocations: 11.95 MB / 0.6569 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.2122, allocations: 5.701 MB / 0.6625 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.2134, allocations: 39.81 kB / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.2163, allocations: 1.042 MB / 0.6635 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.2182, allocations: 0.6802 MB / 0.6642 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.2208, allocations: 0.9812 MB / 0.6651 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.224, allocations: 2.587 MB / 0.6677 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004204/0.2282, allocations: 3.783 MB / 0.6714 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.2301, allocations: 1.208 MB / 0.6725 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.2319, allocations: 1.328 MB / 0.6738 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.2323, allocations: 252 kB / 0.6741 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.2334, allocations: 0.5657 MB / 0.6746 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008841/0.2343, allocations: 0.9395 MB / 0.6755 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.2355, allocations: 1.066 MB / 0.6766 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.2393, allocations: 3.849 MB / 0.6803 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2393, allocations: 4 kB / 0.6803 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2393, allocations: 0 / 0.6803 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.684e-05/0.2394, allocations: 0 / 0.6803 GB, free: 5.035 MB / 0.5137 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.004179/0.2436, allocations: 2.1 MB / 0.6824 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2436, allocations: 8.625 kB / 0.6824 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.2471, allocations: 0.7361 MB / 0.6831 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.2497, allocations: 1.224 MB / 0.6843 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/0.2498, allocations: 115.6 kB / 0.6844 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.2501, allocations: 164.1 kB / 0.6846 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004942/0.255, allocations: 2.964 MB / 0.6875 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.2551, allocations: 7.938 kB / 0.6875 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.2553, allocations: 67.98 kB / 0.6876 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003491/0.2557, allocations: 163.1 kB / 0.6877 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00398/0.2596, allocations: 2.522 MB / 0.6902 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.2727, allocations: 10.73 MB / 0.7007 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.2743, allocations: 0.9485 MB / 0.7016 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007674/0.2751, allocations: 0.5134 MB / 0.7021 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.2752, allocations: 85.48 kB / 0.7022 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.2753, allocations: 38.94 kB / 0.7022 GB, free: 13.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=46): time 2.725e-06/0.2753, allocations: 4 kB / 0.7022 GB, free: 13.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=70): time 0.02975/0.305, allocations: 8.082 MB / 0.7101 GB, free: 5.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3051, allocations: 63.97 kB / 0.7102 GB, free: 5.281 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.3065, allocations: 0.922 MB / 0.7111 GB, free: 4.348 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.3066, allocations: 41.64 kB / 0.7111 GB, free: 4.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/0.3072, allocations: 0.7737 MB / 0.7119 GB, free: 3.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.3074, allocations: 244.5 kB / 0.7121 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/0.3079, allocations: 222.7 kB / 0.7123 GB, free: 3.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3081, allocations: 394.8 kB / 0.7127 GB, free: 2.648 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.3094, allocations: 0.8062 MB / 0.7135 GB, free: 1.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.3111, allocations: 1.159 MB / 0.7146 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002976/0.3141, allocations: 1.99 MB / 0.7165 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3141, allocations: 4 kB / 0.7165 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009874/0.324, allocations: 3.666 MB / 0.7201 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.324, allocations: 8 kB / 0.7201 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.3241, allocations: 12 kB / 0.7201 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007774/0.3319, allocations: 1.901 MB / 0.722 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.333, allocations: 227.6 kB / 0.7222 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/0.3497, allocations: 10.59 MB / 0.7326 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.3515, allocations: 183.5 kB / 0.7327 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.3517, allocations: 51.98 kB / 0.7328 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002725/0.3544, allocations: 1.517 MB / 0.7343 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001661/0.3561, allocations: 1.128 MB / 0.7354 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003006/0.3591, allocations: 1.939 MB / 0.7373 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.338e-05/0.3592, allocations: 4 kB / 0.7373 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.008474/0.3676, allocations: 3.096 MB / 0.7403 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.3677, allocations: 12 kB / 0.7403 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/0.3677, allocations: 11.94 kB / 0.7403 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005024/0.3728, allocations: 1.201 MB / 0.7415 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.3742, allocations: 287.4 kB / 0.7418 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4159/0.7901, allocations: 5.838 MB / 0.7475 GB, free: 89.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.7922, allocations: 176.9 kB / 0.7476 GB, free: 89.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.7924, allocations: 50.14 kB / 0.7477 GB, free: 89.86 MB / 0.5762 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.0005124/0.7929, allocations: 243.6 kB / 0.7479 GB, free: 89.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.7931, allocations: 86.69 kB / 0.748 GB, free: 89.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.8034, allocations: 3.167 MB / 0.7511 GB, free: 89.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.8034, allocations: 7.266 kB / 0.7511 GB, free: 89.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8034, allocations: 0.5625 kB / 0.7511 GB, free: 89.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000793/0.8042, allocations: 321.6 kB / 0.7514 GB, free: 89.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.8044, allocations: 12.55 kB / 0.7514 GB, free: 89.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000994/0.8054, allocations: 137.3 kB / 0.7515 GB, free: 89.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/0.8058, allocations: 73.39 kB / 0.7516 GB, free: 89.39 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007626/0.8134, allocations: 2.826 MB / 0.7544 GB, free: 88.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003716/0.8171, allocations: 2.385 MB / 0.7567 GB, free: 87.71 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001201/0.8183, allocations: 0.7604 MB / 0.7574 GB, free: 87.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001233/0.8196, allocations: 0.6815 MB / 0.7581 GB, free: 87.19 MB / 0.5762 GB Notification: Performance of Backend: time 3.1e-07/0.8196, allocations: 0 / 0.7581 GB, free: 87.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006858/0.8265, allocations: 3.172 MB / 0.7612 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of SimCode: time 0.006263/0.8328, allocations: 3.723 MB / 0.7648 GB, free: 84.08 MB / 0.5762 GB Notification: Performance of Templates: time 0.04596/0.8787, allocations: 35.96 MB / 0.8 GB, free: 56.97 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)