Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 119.2 kB / 17.09 MB, free: 5.938 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.001203/0.001203, allocations: 196.6 kB / 18.02 MB, free: 5.023 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.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6817/0.6817, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.33 kB / 0.5584 GB, free: 32.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 76.18 MB / 0.6328 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03382/0.1636, allocations: 33.3 MB / 0.6653 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02201/0.1857, allocations: 14.83 MB / 0.6798 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.1891, allocations: 151.2 kB / 0.6799 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009108/0.1983, allocations: 3.665 MB / 0.6835 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008277/0.2066, allocations: 2.994 MB / 0.6864 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006031/0.2126, allocations: 2.332 MB / 0.6887 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.2238, allocations: 8.827 MB / 0.6973 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01346/0.2373, allocations: 9.585 MB / 0.7067 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007161/0.2445, allocations: 4.008 MB / 0.7106 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006529/0.251, allocations: 4.034 MB / 0.7145 GB, free: 332 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002286/0.2533, allocations: 0.7149 MB / 0.7152 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004552/0.2579, allocations: 1.72 MB / 0.7169 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004154/0.2621, allocations: 2.83 MB / 0.7197 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00665/0.2688, allocations: 3.388 MB / 0.723 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.2819, allocations: 11.19 MB / 0.7339 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2819, allocations: 0 / 0.7339 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.282, allocations: 0 / 0.7339 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003571/0.2823, allocations: 0 / 0.7339 GB, free: 12.43 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01521/0.2975, allocations: 5.983 MB / 0.7397 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2976, allocations: 8.031 kB / 0.7397 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007342/0.3049, allocations: 1.145 MB / 0.7409 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00732/0.3123, allocations: 3.516 MB / 0.7443 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003425/0.3126, allocations: 374.4 kB / 0.7447 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/0.3143, allocations: 500 kB / 0.7451 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3158/0.6302, allocations: 8.003 MB / 0.7529 GB, free: 95.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000156/0.6304, allocations: 22.12 kB / 0.753 GB, free: 95.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005987/0.631, allocations: 218.4 kB / 0.7532 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001112/0.6321, allocations: 438.5 kB / 0.7536 GB, free: 95.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.646, allocations: 6.083 MB / 0.7595 GB, free: 93.41 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03581/0.6819, allocations: 34.88 MB / 0.7936 GB, free: 62.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.6842, allocations: 2.031 MB / 0.7956 GB, free: 61.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.6862, allocations: 1.87 MB / 0.7974 GB, free: 60.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.968e-05/0.6863, allocations: 24.3 kB / 0.7974 GB, free: 60.74 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.6863, allocations: 59.98 kB / 0.7975 GB, free: 60.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 3.566e-06/0.6863, allocations: 3.562 kB / 0.7975 GB, free: 60.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.1329/0.8192, allocations: 38.88 MB / 0.8355 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.8193, allocations: 77.58 kB / 0.8355 GB, free: 22.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.8217, allocations: 2.286 MB / 0.8378 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002888/0.822, allocations: 73.7 kB / 0.8378 GB, free: 19.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008496/0.8229, allocations: 2.276 MB / 0.8401 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000548/0.8235, allocations: 0.9301 MB / 0.841 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007584/0.8242, allocations: 0.5061 MB / 0.8415 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.8243, allocations: 313 kB / 0.8418 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.8264, allocations: 1.97 MB / 0.8437 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.8288, allocations: 2.602 MB / 0.8462 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004767/0.8336, allocations: 4.937 MB / 0.8511 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.8336, allocations: 4 kB / 0.8511 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01241/0.846, allocations: 7.751 MB / 0.8586 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.8461, allocations: 13 kB / 0.8586 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.8461, allocations: 16 kB / 0.8587 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008869/0.855, allocations: 3.224 MB / 0.8618 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.8567, allocations: 395.3 kB / 0.8622 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04266/0.8994, allocations: 33.87 MB / 0.8953 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.9024, allocations: 167.8 kB / 0.8954 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003279/0.9028, allocations: 108 kB / 0.8955 GB, free: 7.188 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002959/0.9057, allocations: 1.798 MB / 0.8973 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007145/0.9064, allocations: 332.1 kB / 0.8976 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.9197, allocations: 7.357 MB / 0.9048 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.9198, allocations: 29.5 kB / 0.9048 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.2e-05/0.9199, allocations: 28 kB / 0.9048 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-05/0.9199, allocations: 11.95 kB / 0.9048 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/0.9417, allocations: 12.93 MB / 0.9175 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/0.9418, allocations: 8 kB / 0.9175 GB, free: 484 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009765/0.9427, allocations: 231.6 kB / 0.9177 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007758/0.9505, allocations: 2.847 MB / 0.9205 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003234/0.9509, allocations: 52 kB / 0.9205 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04068/0.9915, allocations: 32.68 MB / 0.9524 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.9916, allocations: 7.938 kB / 0.9525 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/1.004, allocations: 6.883 MB / 0.9592 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/1.006, allocations: 0.7783 MB / 0.9599 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006249/1.007, allocations: 60.48 kB / 0.96 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/1.009, allocations: 167.8 kB / 0.9602 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007877/1.01, allocations: 253.5 kB / 0.9604 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.01, allocations: 72 kB / 0.9605 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002383/1.012, allocations: 1.525 MB / 0.962 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.71e-07/1.012, allocations: 3.938 kB / 0.962 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004209/1.016, allocations: 1.375 MB / 0.9633 GB, free: 468 kB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004377/1.017, allocations: 175 kB / 0.9635 GB, free: 284 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.028, allocations: 6.925 MB / 0.9702 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/1.028, allocations: 0 / 0.9702 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008547/1.037, allocations: 4.415 MB / 0.9745 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/1.042, allocations: 1.118 MB / 0.9756 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/1.06, allocations: 10.78 MB / 0.9862 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00436/1.065, allocations: 3.753 MB / 0.9898 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007488/1.065, allocations: 175.4 kB / 0.99 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/1.065, allocations: 0 / 0.99 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of Templates: time 0.4637/1.529, allocations: 227.6 MB / 1.212 GB, free: 81.9 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)