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.001002/0.001002, allocations: 107.7 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.001016/0.001016, allocations: 191.2 kB / 17.34 MB, free: 5.766 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6712/0.6712, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 64.28 kB / 0.5577 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1423, allocations: 76.19 MB / 0.6321 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01362/0.156, allocations: 11.94 MB / 0.6438 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009086/0.1651, allocations: 5.708 MB / 0.6493 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.1663, allocations: 35.88 kB / 0.6494 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.1692, allocations: 1.053 MB / 0.6504 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.1708, allocations: 0.6646 MB / 0.651 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.173, allocations: 0.9703 MB / 0.652 GB, free: 64 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002525/0.1755, allocations: 2.587 MB / 0.6545 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003696/0.1792, allocations: 3.783 MB / 0.6582 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.1806, allocations: 1.204 MB / 0.6594 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.1821, allocations: 1.328 MB / 0.6607 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.1824, allocations: 252 kB / 0.6609 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009605/0.1834, allocations: 0.5696 MB / 0.6615 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007249/0.1841, allocations: 0.9395 MB / 0.6624 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009271/0.1851, allocations: 1.066 MB / 0.6634 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003141/0.1882, allocations: 3.853 MB / 0.6672 GB, free: 428 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1882, allocations: 0 / 0.6672 GB, free: 428 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1883, allocations: 0 / 0.6672 GB, free: 428 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.922e-05/0.1883, allocations: 4 kB / 0.6672 GB, free: 424 kB / 0.4981 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.003482/0.1918, allocations: 2.093 MB / 0.6693 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1918, allocations: 8.031 kB / 0.6693 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.1949, allocations: 0.7401 MB / 0.67 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.1967, allocations: 1.22 MB / 0.6712 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/0.1968, allocations: 119.6 kB / 0.6713 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.197, allocations: 172 kB / 0.6715 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004119/0.2012, allocations: 2.96 MB / 0.6743 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/0.2012, allocations: 0 / 0.6743 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.2014, allocations: 64 kB / 0.6744 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003397/0.2017, allocations: 171.1 kB / 0.6746 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/0.2053, allocations: 2.522 MB / 0.677 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.2161, allocations: 10.74 MB / 0.6875 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.2176, allocations: 0.9471 MB / 0.6884 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007174/0.2183, allocations: 0.5016 MB / 0.6889 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.2184, allocations: 101.5 kB / 0.689 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.2185, allocations: 42.88 kB / 0.6891 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=46): time 2.054e-06/0.2185, allocations: 0 / 0.6891 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70): time 0.02791/0.2464, allocations: 8.074 MB / 0.697 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2465, allocations: 55.97 kB / 0.697 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.2477, allocations: 0.926 MB / 0.6979 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.513e-05/0.2478, allocations: 37.7 kB / 0.6979 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.2483, allocations: 0.7697 MB / 0.6987 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.2485, allocations: 252.5 kB / 0.6989 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.2489, allocations: 214.8 kB / 0.6991 GB, free: 14.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.249, allocations: 406.7 kB / 0.6995 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.2503, allocations: 0.8023 MB / 0.7003 GB, free: 13.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.2518, allocations: 1.151 MB / 0.7014 GB, free: 11.92 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/0.2545, allocations: 1.993 MB / 0.7034 GB, free: 9.773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.2546, allocations: 8 kB / 0.7034 GB, free: 9.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009241/0.2638, allocations: 3.67 MB / 0.707 GB, free: 6.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.2638, allocations: 8 kB / 0.707 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.2639, allocations: 12 kB / 0.707 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007131/0.271, allocations: 1.893 MB / 0.7088 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/0.2719, allocations: 235.6 kB / 0.7091 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/0.2869, allocations: 10.59 MB / 0.7194 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.2884, allocations: 187.6 kB / 0.7196 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.2885, allocations: 47.98 kB / 0.7196 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002435/0.291, allocations: 1.521 MB / 0.7211 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001553/0.2925, allocations: 1.128 MB / 0.7222 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002711/0.2953, allocations: 1.939 MB / 0.7241 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.869e-06/0.2953, allocations: 4 kB / 0.7241 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007543/0.3028, allocations: 3.096 MB / 0.7271 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3029, allocations: 11.94 kB / 0.7272 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.3029, allocations: 12 kB / 0.7272 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004534/0.3074, allocations: 1.199 MB / 0.7283 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.3085, allocations: 279.5 kB / 0.7286 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/0.3164, allocations: 5.855 MB / 0.7343 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.3176, allocations: 175.7 kB / 0.7345 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.3178, allocations: 44 kB / 0.7345 GB, free: 9.125 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.0003058/0.3181, allocations: 247.9 kB / 0.7348 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.3183, allocations: 94.89 kB / 0.7349 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008088/0.3263, allocations: 3.168 MB / 0.7379 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.3264, allocations: 8 kB / 0.738 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3264, allocations: 0 / 0.738 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3264, allocations: 3.984 kB / 0.738 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.3368, allocations: 5.274 MB / 0.7431 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3368, allocations: 4 kB / 0.7431 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.3372, allocations: 103.8 kB / 0.7432 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006119/0.3434, allocations: 1.718 MB / 0.7449 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/0.3434, allocations: 12 kB / 0.7449 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.3566, allocations: 9.992 MB / 0.7547 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3566, allocations: 0 / 0.7547 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007461/0.3641, allocations: 3.023 MB / 0.7576 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.3646, allocations: 323.9 kB / 0.7579 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.3648, allocations: 16 kB / 0.7579 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.3657, allocations: 135.8 kB / 0.7581 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.3659, allocations: 68.36 kB / 0.7581 GB, free: 460 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.366, allocations: 24 kB / 0.7582 GB, free: 436 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.2832/0.6492, allocations: 0.6709 MB / 0.7588 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.082e-06/0.6492, allocations: 0 / 0.7588 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002804/0.652, allocations: 0.6892 MB / 0.7595 GB, free: 116.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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 Backend phase and start with SimCode phase: time 0.0002663/0.6523, allocations: 128.3 kB / 0.7596 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00605/0.6584, allocations: 3.539 MB / 0.7631 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6584, allocations: 4.656 kB / 0.7631 GB, free: 116.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.6605, allocations: 1.252 MB / 0.7643 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.6623, allocations: 288.2 kB / 0.7646 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006536/0.6689, allocations: 3.44 MB / 0.7679 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/0.671, allocations: 1.719 MB / 0.7696 GB, free: 113.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001447/0.6724, allocations: 0.5325 MB / 0.7701 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.6726, allocations: 63.72 kB / 0.7702 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of SimCode: time 9.41e-07/0.6726, allocations: 0 / 0.7702 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.03547/0.7081, allocations: 31.98 MB / 0.8014 GB, free: 93.93 MB / 0.5919 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)