Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 116 kB / 17.09 MB, free: 6.008 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.00122/0.00122, allocations: 190.8 kB / 18.02 MB, free: 5.094 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.272/1.272, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6826/0.6826, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 69.45 kB / 0.5583 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1358, allocations: 76.18 MB / 0.6327 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007198/0.1431, allocations: 5.142 MB / 0.6378 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00515/0.1483, allocations: 3.802 MB / 0.6415 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.1486, allocations: 11.94 kB / 0.6415 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.1505, allocations: 0.582 MB / 0.6421 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.1519, allocations: 479.6 kB / 0.6425 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.1527, allocations: 267.4 kB / 0.6428 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.154, allocations: 0.697 MB / 0.6434 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007921/0.1548, allocations: 0.5329 MB / 0.644 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.1554, allocations: 367 kB / 0.6443 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.156, allocations: 302.9 kB / 0.6446 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.1561, allocations: 44 kB / 0.6447 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006872/0.1568, allocations: 307.5 kB / 0.6449 GB, free: 7.965 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.1571, allocations: 167.6 kB / 0.6451 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.1574, allocations: 258.8 kB / 0.6454 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.1587, allocations: 0.8336 MB / 0.6462 GB, free: 6.711 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1587, allocations: 4 kB / 0.6462 GB, free: 6.707 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1587, allocations: 0 / 0.6462 GB, free: 6.707 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.1587, allocations: 0 / 0.6462 GB, free: 6.707 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001996/0.1607, allocations: 0.8181 MB / 0.647 GB, free: 5.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.1608, allocations: 12.03 kB / 0.647 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.164, allocations: 0.6905 MB / 0.6477 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000889/0.1649, allocations: 480.3 kB / 0.6481 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.1649, allocations: 25.02 kB / 0.6481 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.165, allocations: 36.12 kB / 0.6482 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.1668, allocations: 0.8356 MB / 0.649 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.1669, allocations: 0 / 0.649 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/0.1669, allocations: 12 kB / 0.649 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/0.1671, allocations: 64.52 kB / 0.6491 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.1693, allocations: 0.9272 MB / 0.65 GB, free: 2.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004174/0.1735, allocations: 2.863 MB / 0.6528 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.1752, allocations: 0.5605 MB / 0.6533 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007884/0.176, allocations: 304.6 kB / 0.6536 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.1762, allocations: 93.11 kB / 0.6537 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1762, allocations: 34.55 kB / 0.6537 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.544e-06/0.1762, allocations: 4 kB / 0.6537 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36): time 0.01423/0.1904, allocations: 3.874 MB / 0.6575 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.1905, allocations: 55.41 kB / 0.6576 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.1911, allocations: 425.5 kB / 0.658 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.1911, allocations: 29.7 kB / 0.658 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1913, allocations: 248.2 kB / 0.6582 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.1915, allocations: 122.2 kB / 0.6583 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.1917, allocations: 82.11 kB / 0.6584 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.1918, allocations: 354.8 kB / 0.6588 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.1929, allocations: 434.2 kB / 0.6592 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.194, allocations: 0.5008 MB / 0.6597 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.1961, allocations: 0.9265 MB / 0.6606 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1961, allocations: 0 / 0.6606 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005715/0.2018, allocations: 1.838 MB / 0.6624 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.2019, allocations: 7.938 kB / 0.6624 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2019, allocations: 4 kB / 0.6624 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004134/0.206, allocations: 0.973 MB / 0.6633 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.2068, allocations: 131.8 kB / 0.6635 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.2179, allocations: 6.634 MB / 0.6699 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009861/0.2189, allocations: 115.8 kB / 0.67 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/0.219, allocations: 15.98 kB / 0.6701 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001401/0.2204, allocations: 0.6178 MB / 0.6707 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00107/0.2215, allocations: 0.4927 MB / 0.6711 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00207/0.2236, allocations: 0.8977 MB / 0.672 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.04e-06/0.2236, allocations: 3.984 kB / 0.672 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.00489/0.2285, allocations: 1.61 MB / 0.6736 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2285, allocations: 12.03 kB / 0.6736 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2285, allocations: 0 / 0.6736 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002825/0.2314, allocations: 0.6999 MB / 0.6743 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.2321, allocations: 135.8 kB / 0.6744 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007755/0.2398, allocations: 5.824 MB / 0.6801 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008828/0.2407, allocations: 107.8 kB / 0.6802 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.958e-05/0.2408, allocations: 19.98 kB / 0.6802 GB, free: 2.633 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002317/0.2411, allocations: 207.8 kB / 0.6804 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.2412, allocations: 39.53 kB / 0.6805 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005432/0.2466, allocations: 1.735 MB / 0.6822 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.2467, allocations: 0 / 0.6822 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2467, allocations: 3.938 kB / 0.6822 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.2471, allocations: 188.6 kB / 0.6823 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.2473, allocations: 7.984 kB / 0.6824 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.2483, allocations: 83.81 kB / 0.6824 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.2486, allocations: 39.92 kB / 0.6825 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00503/0.2536, allocations: 1.524 MB / 0.684 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00255/0.2562, allocations: 1.374 MB / 0.6853 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007709/0.257, allocations: 408 kB / 0.6857 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004294/0.2574, allocations: 331 kB / 0.686 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of Backend: time 4.91e-07/0.2574, allocations: 0 / 0.686 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006281/0.2637, allocations: 2.34 MB / 0.6883 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002064/0.2658, allocations: 1.617 MB / 0.6899 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of Templates: time 0.02841/0.2942, allocations: 18.99 MB / 0.7084 GB, free: 5.711 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)