Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 121.6 kB / 17.09 MB, free: 6.012 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.001248/0.001249, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.256/1.256, 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.6773/0.6773, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 68.34 kB / 0.5584 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1343, allocations: 76.18 MB / 0.6328 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04019/0.1745, allocations: 41.15 MB / 0.6729 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02335/0.1979, allocations: 15.1 MB / 0.6877 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004279/0.2022, allocations: 187.1 kB / 0.6879 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.2132, allocations: 4.471 MB / 0.6922 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00818/0.2214, allocations: 2.927 MB / 0.6951 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007668/0.2291, allocations: 3.159 MB / 0.6982 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01325/0.2424, allocations: 11.43 MB / 0.7093 GB, free: 5.836 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01775/0.2602, allocations: 12.46 MB / 0.7215 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008122/0.2683, allocations: 4.9 MB / 0.7263 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00885/0.2772, allocations: 5.39 MB / 0.7316 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003054/0.2803, allocations: 0.9531 MB / 0.7325 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006554/0.2869, allocations: 2.04 MB / 0.7345 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005922/0.2928, allocations: 3.692 MB / 0.7381 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.008312/0.3012, allocations: 4.303 MB / 0.7423 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.324/0.6252, allocations: 14.27 MB / 0.7562 GB, free: 39.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.6253, allocations: 0 / 0.7562 GB, free: 39.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6253, allocations: 4.812 kB / 0.7562 GB, free: 39.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000527/0.6258, allocations: 0 / 0.7562 GB, free: 39.74 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02938/0.6552, allocations: 7.6 MB / 0.7637 GB, free: 37.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.6553, allocations: 10.34 kB / 0.7637 GB, free: 37.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.6685, allocations: 1.525 MB / 0.7652 GB, free: 36.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.6803, allocations: 4.438 MB / 0.7695 GB, free: 35.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004741/0.6808, allocations: 456.8 kB / 0.7699 GB, free: 35.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004007/0.6849, allocations: 0.5982 MB / 0.7705 GB, free: 35.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02957/0.7144, allocations: 10.68 MB / 0.7809 GB, free: 34.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004144/0.7149, allocations: 35.36 kB / 0.781 GB, free: 34.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00327/0.7182, allocations: 265.4 kB / 0.7812 GB, free: 34.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003032/0.7212, allocations: 0.7723 MB / 0.782 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01953/0.7408, allocations: 8.564 MB / 0.7903 GB, free: 32.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06367/0.8045, allocations: 46.52 MB / 0.8358 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006872/0.8114, allocations: 4.328 MB / 0.84 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005968/0.8174, allocations: 3.715 MB / 0.8436 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000393/0.8178, allocations: 38.78 kB / 0.8437 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.545e-05/0.8179, allocations: 69.34 kB / 0.8437 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 5.29e-06/0.8179, allocations: 0 / 0.8437 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.5152/1.333, allocations: 122.8 MB / 0.9636 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/1.333, allocations: 111.9 kB / 0.9637 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/1.337, allocations: 2.685 MB / 0.9664 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/1.339, allocations: 121.7 kB / 0.9665 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001953/1.34, allocations: 2.672 MB / 0.9691 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002865/1.343, allocations: 1.957 MB / 0.971 GB, free: 13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003057/1.346, allocations: 0.9209 MB / 0.9719 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/1.347, allocations: 308 kB / 0.9722 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006362/1.353, allocations: 4.083 MB / 0.9762 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007203/1.36, allocations: 5.011 MB / 0.9811 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/1.375, allocations: 9.856 MB / 0.9907 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-05/1.375, allocations: 4 kB / 0.9907 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04154/1.417, allocations: 17 MB / 1.007 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/1.417, allocations: 16 kB / 1.007 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/1.417, allocations: 20 kB / 1.007 GB, free: 7.438 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03228/1.449, allocations: 9.087 MB / 1.016 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/1.452, allocations: 0.5204 MB / 1.017 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4212/1.873, allocations: 76.96 MB / 1.092 GB, free: 271.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005589/1.878, allocations: 285.6 kB / 1.092 GB, free: 271.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.88, allocations: 194.7 kB / 1.092 GB, free: 271.8 MB / 0.795 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004564/1.884, allocations: 2.414 MB / 1.095 GB, free: 270.7 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.885, allocations: 474.1 kB / 1.095 GB, free: 270.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03399/1.919, allocations: 16.82 MB / 1.112 GB, free: 261.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/1.919, allocations: 56 kB / 1.112 GB, free: 261.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001989/1.92, allocations: 74.59 kB / 1.112 GB, free: 261.7 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001149/1.92, allocations: 29.2 kB / 1.112 GB, free: 261.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04695/1.967, allocations: 25.65 MB / 1.137 GB, free: 237.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-05/1.967, allocations: 8 kB / 1.137 GB, free: 237.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.969, allocations: 315.5 kB / 1.137 GB, free: 236.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0259/1.995, allocations: 8.272 MB / 1.145 GB, free: 228.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001109/1.996, allocations: 108 kB / 1.145 GB, free: 228.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08092/2.077, allocations: 73.83 MB / 1.217 GB, free: 153.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/2.077, allocations: 11.94 kB / 1.217 GB, free: 153.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03813/2.115, allocations: 21.57 MB / 1.238 GB, free: 131.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003503/2.118, allocations: 1.351 MB / 1.24 GB, free: 130.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/2.12, allocations: 117.2 kB / 1.24 GB, free: 130 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003671/2.123, allocations: 289.1 kB / 1.24 GB, free: 129.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001638/2.125, allocations: 0.5221 MB / 1.241 GB, free: 129.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000405/2.125, allocations: 144 kB / 1.241 GB, free: 129 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002042/2.127, allocations: 1.78 MB / 1.243 GB, free: 127.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/2.127, allocations: 0 / 1.243 GB, free: 127.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007433/2.135, allocations: 2.461 MB / 1.245 GB, free: 124.8 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008252/2.136, allocations: 239.7 kB / 1.245 GB, free: 124.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02163/2.157, allocations: 14.53 MB / 1.259 GB, free: 109.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/2.157, allocations: 1 kB / 1.259 GB, free: 109.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01718/2.175, allocations: 9.36 MB / 1.268 GB, free: 100.3 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008148/2.183, allocations: 1.381 MB / 1.27 GB, free: 99.04 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/2.211, allocations: 16.49 MB / 1.286 GB, free: 82.48 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00674/2.217, allocations: 4.994 MB / 1.291 GB, free: 77.45 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/2.219, allocations: 215.4 kB / 1.291 GB, free: 77.23 MB / 0.795 GB Notification: Performance of SimCode: time 9.82e-07/2.219, allocations: 0 / 1.291 GB, free: 77.23 MB / 0.795 GB Notification: Performance of Templates: time 0.9175/3.136, allocations: 475 MB / 1.755 GB, free: 202.6 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)