Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 107 kB / 16.4 MB, free: 6.508 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.002083/0.002083, allocations: 196 kB / 17.34 MB, free: 5.738 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.446/1.446, allocations: 222.9 MB / 241 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.8533/0.8533, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.33 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1745, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01793/0.1924, allocations: 14.02 MB / 0.6458 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.2063, allocations: 9.384 MB / 0.6549 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.2079, allocations: 63.56 kB / 0.655 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004938/0.2129, allocations: 1.664 MB / 0.6566 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005538/0.2184, allocations: 1.579 MB / 0.6582 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.2207, allocations: 0.7612 MB / 0.6589 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003945/0.2247, allocations: 2.524 MB / 0.6614 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.2272, allocations: 1.415 MB / 0.6628 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.2293, allocations: 1.067 MB / 0.6638 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/0.2321, allocations: 1.144 MB / 0.6649 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008281/0.2329, allocations: 164 kB / 0.6651 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.2356, allocations: 0.7877 MB / 0.6658 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.2367, allocations: 0.6154 MB / 0.6664 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00245/0.2392, allocations: 0.9406 MB / 0.6674 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004616/0.2438, allocations: 2.753 MB / 0.67 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2438, allocations: 8 kB / 0.6701 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2438, allocations: 4 kB / 0.6701 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.591e-05/0.2439, allocations: 0 / 0.6701 GB, free: 13.38 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.00443/0.2483, allocations: 2.143 MB / 0.6722 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2484, allocations: 8.031 kB / 0.6722 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.2604, allocations: 2.081 MB / 0.6742 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.2641, allocations: 1.29 MB / 0.6755 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.963e-05/0.2642, allocations: 90.73 kB / 0.6755 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002628/0.2644, allocations: 128 kB / 0.6757 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006265/0.2707, allocations: 2.671 MB / 0.6783 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.2708, allocations: 11.92 kB / 0.6783 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.271, allocations: 55.98 kB / 0.6783 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000684/0.2717, allocations: 182.1 kB / 0.6785 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008089/0.2798, allocations: 2.803 MB / 0.6812 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.2955, allocations: 10.46 MB / 0.6915 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007224/0.3028, allocations: 2.541 MB / 0.6939 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/0.3061, allocations: 1.284 MB / 0.6952 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.516e-05/0.3062, allocations: 9 kB / 0.6952 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.3062, allocations: 43.56 kB / 0.6953 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 2.995e-06/0.3062, allocations: 3.938 kB / 0.6953 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.04868/0.3549, allocations: 13.35 MB / 0.7083 GB, free: 5.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.355, allocations: 68.72 kB / 0.7084 GB, free: 4.992 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.3567, allocations: 1.117 MB / 0.7094 GB, free: 3.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.357, allocations: 49.7 kB / 0.7095 GB, free: 3.805 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/0.3575, allocations: 0.7078 MB / 0.7102 GB, free: 3.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004728/0.358, allocations: 457.4 kB / 0.7106 GB, free: 2.637 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005151/0.3585, allocations: 259.3 kB / 0.7109 GB, free: 2.375 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3587, allocations: 373.8 kB / 0.7112 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003471/0.3622, allocations: 1.335 MB / 0.7125 GB, free: 0.668 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003706/0.3659, allocations: 1.604 MB / 0.7141 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007181/0.3731, allocations: 2.991 MB / 0.717 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3731, allocations: 3.938 kB / 0.717 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01204/0.3852, allocations: 4.442 MB / 0.7214 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.3852, allocations: 8 kB / 0.7214 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.3853, allocations: 8 kB / 0.7214 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005399/0.3907, allocations: 1.432 MB / 0.7228 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.393, allocations: 431.2 kB / 0.7232 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02843/0.4215, allocations: 26.69 MB / 0.7492 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/0.4242, allocations: 303.5 kB / 0.7495 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/0.4246, allocations: 64.08 kB / 0.7496 GB, free: 8.586 MB / 0.5919 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001053/0.4257, allocations: 440.8 kB / 0.75 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/0.4262, allocations: 166.2 kB / 0.7502 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.4391, allocations: 4.457 MB / 0.7545 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.4391, allocations: 12 kB / 0.7545 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.456e-05/0.4392, allocations: 16 kB / 0.7546 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/0.4392, allocations: 7.969 kB / 0.7546 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4305/0.8698, allocations: 6.765 MB / 0.7612 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.8698, allocations: 2.75 kB / 0.7612 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/0.8718, allocations: 383 kB / 0.7615 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004969/0.8768, allocations: 1.304 MB / 0.7628 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/0.877, allocations: 43.45 kB / 0.7628 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0226/0.8996, allocations: 25.49 MB / 0.7877 GB, free: 94.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.8996, allocations: 3.25 kB / 0.7877 GB, free: 94.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.9101, allocations: 4.206 MB / 0.7918 GB, free: 93.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008732/0.911, allocations: 454.3 kB / 0.7923 GB, free: 93.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.9113, allocations: 27.86 kB / 0.7923 GB, free: 93.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/0.9134, allocations: 306.4 kB / 0.7926 GB, free: 93.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004838/0.9139, allocations: 127.2 kB / 0.7927 GB, free: 93.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.914, allocations: 49.61 kB / 0.7928 GB, free: 93.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009382/0.915, allocations: 0.7522 MB / 0.7935 GB, free: 92.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.915, allocations: 1.281 kB / 0.7935 GB, free: 92.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001969/0.917, allocations: 0.5714 MB / 0.7941 GB, free: 92.89 MB / 0.5919 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002719/0.9173, allocations: 143.9 kB / 0.7942 GB, free: 92.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01003/0.9273, allocations: 5.13 MB / 0.7992 GB, free: 90.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.9273, allocations: 2.844 kB / 0.7992 GB, free: 90.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006523/0.9339, allocations: 3.495 MB / 0.8026 GB, free: 87.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.9366, allocations: 0.5544 MB / 0.8032 GB, free: 87.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007958/0.9446, allocations: 3.988 MB / 0.8071 GB, free: 85.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008823/0.9455, allocations: 1.479 MB / 0.8085 GB, free: 83.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001433/0.9469, allocations: 427 kB / 0.8089 GB, free: 83.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.9473, allocations: 115.4 kB / 0.809 GB, free: 83.35 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/0.9473, allocations: 0 / 0.809 GB, free: 83.35 MB / 0.5919 GB Notification: Performance of Templates: time 0.04844/0.9957, allocations: 39.36 MB / 0.8475 GB, free: 44.46 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)