Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 107.1 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.00142/0.00142, allocations: 196 kB / 17.34 MB, free: 5.742 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.276/1.276, allocations: 222.9 MB / 241 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.6954/0.6954, allocations: 115.4 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 64.41 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02132/0.1536, allocations: 20.23 MB / 0.6518 GB, free: 104 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.1636, allocations: 6.449 MB / 0.6581 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.1653, allocations: 83.62 kB / 0.6582 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004992/0.1703, allocations: 2.233 MB / 0.6604 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002817/0.1731, allocations: 1.197 MB / 0.6616 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.176, allocations: 1.273 MB / 0.6628 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005184/0.1812, allocations: 4.85 MB / 0.6676 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005707/0.1869, allocations: 5.602 MB / 0.673 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/0.1898, allocations: 2.119 MB / 0.6751 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.193, allocations: 2.344 MB / 0.6774 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007036/0.1937, allocations: 428 kB / 0.6778 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.1957, allocations: 1.006 MB / 0.6788 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.1973, allocations: 1.665 MB / 0.6804 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002212/0.1995, allocations: 1.91 MB / 0.6823 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006597/0.2061, allocations: 6.517 MB / 0.6886 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2061, allocations: 0 / 0.6886 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2062, allocations: 0 / 0.6886 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001544/0.2063, allocations: 0 / 0.6886 GB, free: 10.28 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006552/0.2129, allocations: 3.463 MB / 0.692 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2129, allocations: 12.03 kB / 0.692 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.216, allocations: 0.641 MB / 0.6926 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.2191, allocations: 2.037 MB / 0.6946 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.2192, allocations: 222.3 kB / 0.6949 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004221/0.2197, allocations: 296.2 kB / 0.6951 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007019/0.2267, allocations: 4.892 MB / 0.6999 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.496e-05/0.2268, allocations: 11.94 kB / 0.6999 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/0.2271, allocations: 128 kB / 0.7 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004194/0.2275, allocations: 233.7 kB / 0.7003 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005458/0.233, allocations: 3.75 MB / 0.7039 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01957/0.2525, allocations: 21.4 MB / 0.7248 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.2542, allocations: 1.304 MB / 0.7261 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.2555, allocations: 1.058 MB / 0.7271 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.2556, allocations: 13 kB / 0.7271 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.2556, allocations: 43.56 kB / 0.7272 GB, free: 452 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 2.625e-06/0.2556, allocations: 0 / 0.7272 GB, free: 452 kB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02277/0.2784, allocations: 8.657 MB / 0.7356 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.2785, allocations: 64.72 kB / 0.7357 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.2798, allocations: 1.126 MB / 0.7368 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/0.2799, allocations: 45.7 kB / 0.7368 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/0.2807, allocations: 1.308 MB / 0.7381 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.281, allocations: 485 kB / 0.7386 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/0.2814, allocations: 295.3 kB / 0.7389 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.2815, allocations: 313 kB / 0.7392 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.2827, allocations: 0.9096 MB / 0.7401 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.2841, allocations: 1.322 MB / 0.7413 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/0.287, allocations: 2.43 MB / 0.7437 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.287, allocations: 4 kB / 0.7437 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005648/0.2927, allocations: 3.463 MB / 0.7471 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.2927, allocations: 17.39 kB / 0.7471 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.2927, allocations: 12 kB / 0.7471 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002957/0.2957, allocations: 1.185 MB / 0.7483 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/0.2966, allocations: 259.5 kB / 0.7485 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3042/0.6009, allocations: 13.82 MB / 0.762 GB, free: 113.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.6022, allocations: 93.69 kB / 0.7621 GB, free: 113.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.6023, allocations: 64.5 kB / 0.7622 GB, free: 113.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001698/0.604, allocations: 1.113 MB / 0.7633 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.6042, allocations: 162.2 kB / 0.7634 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005386/0.6096, allocations: 3.17 MB / 0.7665 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.6096, allocations: 14.03 kB / 0.7665 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.6097, allocations: 11.31 kB / 0.7665 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.6097, allocations: 6.984 kB / 0.7665 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008982/0.6187, allocations: 6.251 MB / 0.7727 GB, free: 108.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6187, allocations: 4.469 kB / 0.7727 GB, free: 108.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.6193, allocations: 150.9 kB / 0.7728 GB, free: 108.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002667/0.6219, allocations: 1.076 MB / 0.7739 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.201e-05/0.622, allocations: 30.12 kB / 0.7739 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/0.6346, allocations: 13.53 MB / 0.7871 GB, free: 100.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6346, allocations: 3.906 kB / 0.7871 GB, free: 100.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/0.6386, allocations: 3.16 MB / 0.7902 GB, free: 98.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.6392, allocations: 425.4 kB / 0.7906 GB, free: 98.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.6394, allocations: 29.72 kB / 0.7906 GB, free: 98.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/0.6402, allocations: 83.89 kB / 0.7907 GB, free: 98.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/0.6405, allocations: 125.4 kB / 0.7908 GB, free: 98.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.6406, allocations: 37.75 kB / 0.7909 GB, free: 98.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007912/0.6414, allocations: 0.7677 MB / 0.7916 GB, free: 98.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6414, allocations: 0 / 0.7916 GB, free: 98.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001558/0.6429, allocations: 0.6591 MB / 0.7922 GB, free: 98.04 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.6431, allocations: 145.9 kB / 0.7924 GB, free: 97.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003525/0.6466, allocations: 3.133 MB / 0.7954 GB, free: 96.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6467, allocations: 0.75 kB / 0.7954 GB, free: 96.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.6488, allocations: 1.957 MB / 0.7974 GB, free: 94.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.6505, allocations: 0.5036 MB / 0.7978 GB, free: 94.13 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.6567, allocations: 5.372 MB / 0.8031 GB, free: 88.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.6582, allocations: 2.335 MB / 0.8054 GB, free: 86.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007165/0.6589, allocations: 351.9 kB / 0.8057 GB, free: 86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.6591, allocations: 87.44 kB / 0.8058 GB, free: 85.92 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/0.6591, allocations: 0 / 0.8058 GB, free: 85.92 MB / 0.5919 GB Notification: Performance of Templates: time 0.03487/0.694, allocations: 33.19 MB / 0.8382 GB, free: 53.21 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)