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.0008867/0.0008867, allocations: 96.19 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 173.2 kB / 16.57 MB, free: 6.391 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.448/1.448, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6671/0.6671, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 12 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1851, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01467/0.1998, allocations: 12.47 MB / 0.569 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01594/0.2158, allocations: 9.434 MB / 0.5782 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.2174, allocations: 55.62 kB / 0.5783 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.2185, allocations: 270.1 kB / 0.5785 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00695/0.2255, allocations: 1.44 MB / 0.58 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.2274, allocations: 0.5416 MB / 0.5805 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003966/0.2314, allocations: 1.741 MB / 0.5822 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3699/0.6013, allocations: 1.794 MB / 0.5839 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.6048, allocations: 1.199 MB / 0.5851 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.6066, allocations: 0.8463 MB / 0.5859 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.6069, allocations: 69.41 kB / 0.586 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.6082, allocations: 384.8 kB / 0.5864 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006858/0.6089, allocations: 465.4 kB / 0.5868 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.6094, allocations: 358.1 kB / 0.5872 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.6127, allocations: 2.076 MB / 0.5892 GB, free: 13.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.6127, allocations: 1.375 kB / 0.5892 GB, free: 13.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6127, allocations: 1.5 kB / 0.5892 GB, free: 13.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.888e-05/0.6128, allocations: 0 / 0.5892 GB, free: 13.57 MB / 446.1 MB 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.004593/0.6174, allocations: 1.847 MB / 0.591 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.6174, allocations: 9.531 kB / 0.591 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.6308, allocations: 2.188 MB / 0.5931 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/0.636, allocations: 1.164 MB / 0.5943 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.6362, allocations: 84.8 kB / 0.5943 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/0.6366, allocations: 123 kB / 0.5945 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008311/0.645, allocations: 2.676 MB / 0.5971 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.055e-05/0.6451, allocations: 11.69 kB / 0.5971 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/0.6453, allocations: 52.75 kB / 0.5971 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000763/0.6461, allocations: 194.8 kB / 0.5973 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008646/0.6547, allocations: 2.83 MB / 0.6001 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/0.6713, allocations: 10.56 MB / 0.6104 GB, free: 21.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006998/0.6783, allocations: 2.383 MB / 0.6127 GB, free: 20.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.6785, allocations: 13.39 kB / 0.6127 GB, free: 20.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.6786, allocations: 50.5 kB / 0.6128 GB, free: 20.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.836e-06/0.6786, allocations: 0 / 0.6128 GB, free: 20.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.07162/0.7502, allocations: 16.49 MB / 0.6289 GB, free: 11.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.7504, allocations: 72.72 kB / 0.629 GB, free: 11.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.7533, allocations: 1.16 MB / 0.6301 GB, free: 10.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005811/0.7539, allocations: 49.7 kB / 0.6302 GB, free: 10.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008663/0.7547, allocations: 0.7415 MB / 0.6309 GB, free: 9.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009881/0.7557, allocations: 0.5148 MB / 0.6314 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.7559, allocations: 32 kB / 0.6314 GB, free: 9.254 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.7562, allocations: 365.9 kB / 0.6318 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005401/0.7616, allocations: 1.529 MB / 0.6333 GB, free: 7.363 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005643/0.7673, allocations: 1.79 MB / 0.635 GB, free: 5.484 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005615/0.7729, allocations: 1.646 MB / 0.6366 GB, free: 3.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.773, allocations: 7.984 kB / 0.6366 GB, free: 3.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01678/0.7898, allocations: 5.294 MB / 0.6418 GB, free: 14.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.7898, allocations: 8 kB / 0.6418 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.7898, allocations: 8 kB / 0.6418 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007439/0.7973, allocations: 1.896 MB / 0.6436 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/0.7996, allocations: 430.2 kB / 0.6441 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03136/0.831, allocations: 22.85 MB / 0.6664 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003627/0.8347, allocations: 311.5 kB / 0.6667 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005018/0.8352, allocations: 68.73 kB / 0.6667 GB, free: 4.129 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001742/0.837, allocations: 461.8 kB / 0.6672 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/0.8378, allocations: 178.8 kB / 0.6673 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/0.8526, allocations: 5.346 MB / 0.6726 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.8526, allocations: 22.19 kB / 0.6726 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.431e-05/0.8527, allocations: 19.98 kB / 0.6726 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.8527, allocations: 7.984 kB / 0.6726 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/0.873, allocations: 7.431 MB / 0.6799 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/0.873, allocations: 4.344 kB / 0.6799 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/0.875, allocations: 367.3 kB / 0.6802 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006574/0.8816, allocations: 1.704 MB / 0.6819 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000451/0.8821, allocations: 43.97 kB / 0.6819 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03066/0.9128, allocations: 22.06 MB / 0.7035 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.9128, allocations: 4 kB / 0.7035 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.9266, allocations: 5.07 MB / 0.7084 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/0.9284, allocations: 490.9 kB / 0.7089 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009582/0.9294, allocations: 35.92 kB / 0.7089 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003366/0.9328, allocations: 327.5 kB / 0.7092 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008805/0.9337, allocations: 160.9 kB / 0.7094 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003386/0.9341, allocations: 55.97 kB / 0.7094 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002168/0.9363, allocations: 0.7743 MB / 0.7102 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9363, allocations: 4 kB / 0.7102 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005164/0.9415, allocations: 0.6562 MB / 0.7108 GB, free: 5.582 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005282/0.942, allocations: 139.8 kB / 0.711 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01281/0.9548, allocations: 5.182 MB / 0.716 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.9549, allocations: 0 / 0.716 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008117/0.963, allocations: 3.376 MB / 0.7193 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/0.9666, allocations: 491.1 kB / 0.7198 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.9788, allocations: 4.849 MB / 0.7245 GB, free: 7.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.981, allocations: 1.607 MB / 0.7261 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002235/0.9833, allocations: 394.4 kB / 0.7265 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005112/0.9838, allocations: 107.4 kB / 0.7266 GB, free: 5.176 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.9838, allocations: 0 / 0.7266 GB, free: 5.176 MB / 0.545 GB Notification: Performance of Templates: time 0.08799/1.072, allocations: 41.42 MB / 0.767 GB, free: 12.31 MB / 0.5919 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)