Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 113.8 kB / 17.08 MB, free: 5.965 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.001222/0.001222, allocations: 190 kB / 18.01 MB, free: 5.051 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.259/1.259, 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.683/0.683, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.5 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1362, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01707/0.1533, allocations: 14.76 MB / 0.6472 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01515/0.1685, allocations: 10.35 MB / 0.6573 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.1701, allocations: 59.62 kB / 0.6573 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004333/0.1745, allocations: 1.68 MB / 0.659 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.1798, allocations: 1.857 MB / 0.6608 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.1818, allocations: 0.7629 MB / 0.6615 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003724/0.1855, allocations: 2.746 MB / 0.6642 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.1875, allocations: 1.427 MB / 0.6656 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.1897, allocations: 1.535 MB / 0.6671 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.1917, allocations: 1.16 MB / 0.6682 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003797/0.1921, allocations: 164 kB / 0.6684 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.1937, allocations: 0.7838 MB / 0.6691 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007335/0.1944, allocations: 0.6076 MB / 0.6697 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.196, allocations: 0.9561 MB / 0.6707 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003946/0.2, allocations: 2.761 MB / 0.6734 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2, allocations: 3.938 kB / 0.6734 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2, allocations: 0 / 0.6734 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.547e-05/0.2001, allocations: 0 / 0.6734 GB, free: 10.62 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004884/0.205, allocations: 2.166 MB / 0.6755 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.205, allocations: 16.03 kB / 0.6755 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.2167, allocations: 2.108 MB / 0.6776 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/0.2201, allocations: 1.307 MB / 0.6788 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.2202, allocations: 86.69 kB / 0.6789 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004473/0.2207, allocations: 128 kB / 0.679 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006421/0.2271, allocations: 2.663 MB / 0.6816 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/0.2272, allocations: 7.938 kB / 0.6816 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.2274, allocations: 63.97 kB / 0.6817 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000646/0.2281, allocations: 190.1 kB / 0.6819 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007926/0.236, allocations: 2.791 MB / 0.6846 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/0.252, allocations: 10.45 MB / 0.6948 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006788/0.2588, allocations: 2.344 MB / 0.6971 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/0.2621, allocations: 1.28 MB / 0.6984 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.936e-05/0.2622, allocations: 20.97 kB / 0.6984 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.2622, allocations: 43.56 kB / 0.6984 GB, free: 56 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 3.948e-06/0.2623, allocations: 0 / 0.6984 GB, free: 56 kB / 0.5294 GB Notification: Performance of matching and sorting (n=153): time 0.06136/0.3236, allocations: 16.49 MB / 0.7145 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.3237, allocations: 72.72 kB / 0.7146 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.3255, allocations: 1.176 MB / 0.7157 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002531/0.3258, allocations: 53.7 kB / 0.7158 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006119/0.3264, allocations: 0.732 MB / 0.7165 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/0.327, allocations: 0.5198 MB / 0.717 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006261/0.3277, allocations: 287.4 kB / 0.7173 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.3278, allocations: 305.1 kB / 0.7176 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/0.3313, allocations: 1.51 MB / 0.7191 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003789/0.3351, allocations: 1.776 MB / 0.7208 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007954/0.3431, allocations: 3.373 MB / 0.7241 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.3432, allocations: 4 kB / 0.7241 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01354/0.3567, allocations: 5.269 MB / 0.7292 GB, free: 60 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.3568, allocations: 9.562 kB / 0.7292 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3568, allocations: 8 kB / 0.7293 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006603/0.3634, allocations: 1.883 MB / 0.7311 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.3654, allocations: 423.2 kB / 0.7315 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3248/0.6903, allocations: 24.13 MB / 0.7551 GB, free: 95.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/0.6931, allocations: 305.2 kB / 0.7553 GB, free: 95.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/0.6934, allocations: 69.77 kB / 0.7554 GB, free: 95.48 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009246/0.6943, allocations: 461 kB / 0.7559 GB, free: 95.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.6947, allocations: 177.3 kB / 0.756 GB, free: 95.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/0.7085, allocations: 5.324 MB / 0.7612 GB, free: 93.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.7086, allocations: 14.09 kB / 0.7612 GB, free: 93.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.268e-05/0.7086, allocations: 25.78 kB / 0.7613 GB, free: 93.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.7087, allocations: 6 kB / 0.7613 GB, free: 93.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.7241, allocations: 7.414 MB / 0.7685 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.7242, allocations: 2.875 kB / 0.7685 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.7258, allocations: 355.3 kB / 0.7688 GB, free: 90.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005387/0.7312, allocations: 1.71 MB / 0.7705 GB, free: 90.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/0.7314, allocations: 47.5 kB / 0.7706 GB, free: 90.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02097/0.7524, allocations: 23.3 MB / 0.7933 GB, free: 71.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7524, allocations: 7.281 kB / 0.7933 GB, free: 71.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.7629, allocations: 4.891 MB / 0.7981 GB, free: 66.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000796/0.7637, allocations: 494.8 kB / 0.7986 GB, free: 65.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/0.764, allocations: 31.06 kB / 0.7986 GB, free: 65.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/0.766, allocations: 324 kB / 0.7989 GB, free: 65.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004699/0.7665, allocations: 145 kB / 0.7991 GB, free: 65.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.7666, allocations: 59.97 kB / 0.7991 GB, free: 65.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007837/0.7674, allocations: 0.7899 MB / 0.7999 GB, free: 64.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7674, allocations: 0 / 0.7999 GB, free: 64.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001752/0.7691, allocations: 0.6562 MB / 0.8005 GB, free: 63.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002532/0.7694, allocations: 135.2 kB / 0.8006 GB, free: 63.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009334/0.7787, allocations: 5.156 MB / 0.8057 GB, free: 58.45 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7788, allocations: 0 / 0.8057 GB, free: 58.45 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005733/0.7845, allocations: 3.357 MB / 0.809 GB, free: 55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.7867, allocations: 0.5539 MB / 0.8095 GB, free: 54.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007134/0.7938, allocations: 4.429 MB / 0.8138 GB, free: 50.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008151/0.7946, allocations: 1.568 MB / 0.8154 GB, free: 48.44 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005084/0.7952, allocations: 127.3 kB / 0.8155 GB, free: 48.31 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.7952, allocations: 0 / 0.8155 GB, free: 48.31 MB / 0.5762 GB Notification: Performance of Templates: time 0.06653/0.8617, allocations: 85.83 MB / 0.8993 GB, free: 10.59 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)