Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 117.2 kB / 17.09 MB, free: 5.969 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.00131/0.00131, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.278/1.278, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6913/0.6913, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.25 kB / 0.5584 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1377, allocations: 76.18 MB / 0.6328 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03551/0.1733, allocations: 32.57 MB / 0.6646 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.1905, allocations: 10.27 MB / 0.6746 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.1935, allocations: 147.2 kB / 0.6747 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009184/0.2028, allocations: 3.729 MB / 0.6784 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005687/0.2085, allocations: 1.952 MB / 0.6803 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005633/0.2142, allocations: 2.129 MB / 0.6824 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00868/0.2229, allocations: 7.345 MB / 0.6895 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01308/0.236, allocations: 9.424 MB / 0.6987 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005577/0.2416, allocations: 3.221 MB / 0.7019 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005118/0.2467, allocations: 3.477 MB / 0.7053 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.2486, allocations: 0.6484 MB / 0.7059 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004241/0.2528, allocations: 1.771 MB / 0.7076 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003588/0.2565, allocations: 2.542 MB / 0.7101 GB, free: 4.828 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005461/0.2619, allocations: 2.898 MB / 0.713 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.2744, allocations: 10.11 MB / 0.7228 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2745, allocations: 0 / 0.7228 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2745, allocations: 0 / 0.7228 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003231/0.2748, allocations: 0 / 0.7228 GB, free: 7.781 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01292/0.2878, allocations: 5.012 MB / 0.7277 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2878, allocations: 8.031 kB / 0.7277 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005499/0.2933, allocations: 0.9512 MB / 0.7287 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/0.2988, allocations: 3.05 MB / 0.7316 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.299, allocations: 349.6 kB / 0.732 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009288/0.3, allocations: 464.1 kB / 0.7324 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.3126, allocations: 7.663 MB / 0.7399 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.3128, allocations: 27.72 kB / 0.7399 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004773/0.3133, allocations: 200 kB / 0.7401 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003193/0.3136, allocations: 316.9 kB / 0.7404 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2862/0.5998, allocations: 5.706 MB / 0.746 GB, free: 97.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02687/0.6267, allocations: 34.83 MB / 0.78 GB, free: 68.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.6292, allocations: 2.147 MB / 0.7821 GB, free: 67.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.6305, allocations: 1.273 MB / 0.7833 GB, free: 66.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.308e-05/0.6305, allocations: 13.95 kB / 0.7834 GB, free: 66.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.6306, allocations: 48.48 kB / 0.7834 GB, free: 66.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 2.835e-06/0.6306, allocations: 5 kB / 0.7834 GB, free: 66.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01101/0.6416, allocations: 7.08 MB / 0.7903 GB, free: 62.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.6416, allocations: 68.5 kB / 0.7904 GB, free: 61.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.643, allocations: 1.485 MB / 0.7918 GB, free: 61.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.6431, allocations: 45.64 kB / 0.7919 GB, free: 61.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/0.6437, allocations: 2.006 MB / 0.7938 GB, free: 59.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.644, allocations: 491 kB / 0.7943 GB, free: 58.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/0.6443, allocations: 349.4 kB / 0.7946 GB, free: 58.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.6444, allocations: 301.1 kB / 0.7949 GB, free: 58.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000962/0.6454, allocations: 0.9162 MB / 0.7958 GB, free: 57.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.6465, allocations: 1.599 MB / 0.7974 GB, free: 56.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.6487, allocations: 2.728 MB / 0.8 GB, free: 54.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.6488, allocations: 16.5 kB / 0.8001 GB, free: 54.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004545/0.6533, allocations: 3.525 MB / 0.8035 GB, free: 52.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6534, allocations: 27.05 kB / 0.8035 GB, free: 52.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.6534, allocations: 22.72 kB / 0.8035 GB, free: 52.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/0.6554, allocations: 0.8979 MB / 0.8044 GB, free: 52.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000953/0.6564, allocations: 351.9 kB / 0.8048 GB, free: 51.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.6702, allocations: 23.1 MB / 0.8273 GB, free: 27.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.6716, allocations: 99.95 kB / 0.8274 GB, free: 27.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.6717, allocations: 84.08 kB / 0.8275 GB, free: 27.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001948/0.6737, allocations: 1.612 MB / 0.8291 GB, free: 26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.6739, allocations: 201.6 kB / 0.8293 GB, free: 25.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.678, allocations: 2.99 MB / 0.8322 GB, free: 22.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.6781, allocations: 19.92 kB / 0.8322 GB, free: 22.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.6781, allocations: 12 kB / 0.8322 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.6781, allocations: 6.234 kB / 0.8322 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008585/0.6867, allocations: 7.334 MB / 0.8394 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.6867, allocations: 4 kB / 0.8394 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006921/0.6874, allocations: 176.3 kB / 0.8396 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.6894, allocations: 0.8298 MB / 0.8404 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/0.6895, allocations: 24 kB / 0.8404 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/0.7047, allocations: 21.95 MB / 0.8618 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.7047, allocations: 12 kB / 0.8618 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/0.7097, allocations: 3.021 MB / 0.8648 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008613/0.7106, allocations: 454.5 kB / 0.8652 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/0.7108, allocations: 39.83 kB / 0.8653 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007725/0.7116, allocations: 71.86 kB / 0.8653 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.7119, allocations: 128.7 kB / 0.8655 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.712, allocations: 36 kB / 0.8655 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001217/0.7132, allocations: 0.9795 MB / 0.8664 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7132, allocations: 0 / 0.8664 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002576/0.7158, allocations: 0.7891 MB / 0.8672 GB, free: 0.8203 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002381/0.716, allocations: 147 kB / 0.8674 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005383/0.7214, allocations: 4.024 MB / 0.8713 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7214, allocations: 5 kB / 0.8713 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0033/0.7247, allocations: 2.732 MB / 0.874 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/0.7277, allocations: 0.738 MB / 0.8747 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.7394, allocations: 7.714 MB / 0.8822 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/0.7427, allocations: 3.182 MB / 0.8853 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.7432, allocations: 131.4 kB / 0.8854 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.7432, allocations: 0 / 0.8854 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.5129/1.256, allocations: 321.7 MB / 1.2 GB, free: 99.17 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)