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.001442/0.001447, allocations: 104.2 kB / 16.4 MB, free: 6.492 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.001715/0.001716, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7131/0.7131, allocations: 115.3 MB / 406.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 70.38 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1289, allocations: 76.19 MB / 0.6321 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04205/0.171, allocations: 41.15 MB / 0.6723 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02402/0.1951, allocations: 15.1 MB / 0.687 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004644/0.1997, allocations: 191.1 kB / 0.6872 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.211, allocations: 4.47 MB / 0.6916 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008295/0.2193, allocations: 2.927 MB / 0.6944 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007799/0.2271, allocations: 3.163 MB / 0.6975 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.014/0.2411, allocations: 11.42 MB / 0.7087 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/0.2564, allocations: 12.46 MB / 0.7209 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007223/0.2637, allocations: 4.907 MB / 0.7256 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008721/0.2724, allocations: 5.393 MB / 0.7309 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00359/0.276, allocations: 0.9492 MB / 0.7318 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00685/0.2829, allocations: 2.04 MB / 0.7338 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00564/0.2886, allocations: 3.688 MB / 0.7374 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007041/0.2956, allocations: 4.299 MB / 0.7416 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3384/0.6341, allocations: 14.27 MB / 0.7556 GB, free: 39.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6341, allocations: 0 / 0.7556 GB, free: 39.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6342, allocations: 0.8125 kB / 0.7556 GB, free: 39.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004935/0.6347, allocations: 0 / 0.7556 GB, free: 39.79 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.03377/0.6684, allocations: 7.61 MB / 0.763 GB, free: 37.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.6685, allocations: 9.594 kB / 0.763 GB, free: 37.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.6831, allocations: 1.52 MB / 0.7645 GB, free: 36.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.6941, allocations: 4.438 MB / 0.7688 GB, free: 35.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.6945, allocations: 457.4 kB / 0.7693 GB, free: 35.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003397/0.6979, allocations: 0.5985 MB / 0.7698 GB, free: 35.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03034/0.7283, allocations: 10.68 MB / 0.7803 GB, free: 34.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/0.7285, allocations: 33.31 kB / 0.7803 GB, free: 34.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001964/0.7305, allocations: 262.5 kB / 0.7806 GB, free: 34.33 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002893/0.7334, allocations: 0.7766 MB / 0.7813 GB, free: 34.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01781/0.7512, allocations: 8.56 MB / 0.7897 GB, free: 32.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05892/0.8102, allocations: 46.52 MB / 0.8351 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006498/0.8167, allocations: 4.311 MB / 0.8393 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005772/0.8225, allocations: 3.716 MB / 0.843 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.8228, allocations: 42.22 kB / 0.843 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/0.8229, allocations: 80.91 kB / 0.8431 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 5.53e-06/0.8229, allocations: 0 / 0.8431 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.5184/1.341, allocations: 122.8 MB / 0.963 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/1.341, allocations: 111.9 kB / 0.9631 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/1.345, allocations: 2.685 MB / 0.9657 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.00115/1.347, allocations: 121.7 kB / 0.9658 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/1.348, allocations: 2.677 MB / 0.9684 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002362/1.351, allocations: 1.957 MB / 0.9703 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001892/1.353, allocations: 0.9248 MB / 0.9712 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/1.353, allocations: 301.1 kB / 0.9715 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005991/1.359, allocations: 4.083 MB / 0.9755 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006633/1.365, allocations: 5.016 MB / 0.9804 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/1.379, allocations: 9.852 MB / 0.99 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/1.379, allocations: 8 kB / 0.99 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03987/1.419, allocations: 16.99 MB / 1.007 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/1.419, allocations: 14.3 kB / 1.007 GB, free: 7.477 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/1.419, allocations: 24 kB / 1.007 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03328/1.453, allocations: 9.087 MB / 1.016 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/1.456, allocations: 0.5266 MB / 1.016 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5204/1.976, allocations: 76.97 MB / 1.091 GB, free: 272 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005705/1.982, allocations: 276.1 kB / 1.091 GB, free: 272 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006173/1.982, allocations: 188.8 kB / 1.092 GB, free: 271.9 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.004398/1.987, allocations: 2.427 MB / 1.094 GB, free: 270.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.988, allocations: 470.1 kB / 1.094 GB, free: 270.8 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03488/2.023, allocations: 16.82 MB / 1.111 GB, free: 261.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/2.023, allocations: 56 kB / 1.111 GB, free: 261.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001364/2.023, allocations: 75.66 kB / 1.111 GB, free: 261.7 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-05/2.023, allocations: 25.78 kB / 1.111 GB, free: 261.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04822/2.071, allocations: 25.66 MB / 1.136 GB, free: 237.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.425e-05/2.071, allocations: 8 kB / 1.136 GB, free: 237.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/2.073, allocations: 322.3 kB / 1.136 GB, free: 236.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02753/2.101, allocations: 8.272 MB / 1.144 GB, free: 228.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001382/2.102, allocations: 104 kB / 1.145 GB, free: 228.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08571/2.188, allocations: 73.82 MB / 1.217 GB, free: 153.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/2.188, allocations: 11.94 kB / 1.217 GB, free: 153.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03867/2.227, allocations: 21.57 MB / 1.238 GB, free: 131.4 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003532/2.23, allocations: 1.358 MB / 1.239 GB, free: 130.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/2.232, allocations: 109.2 kB / 1.239 GB, free: 130 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003576/2.235, allocations: 287.6 kB / 1.239 GB, free: 129.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002094/2.237, allocations: 0.5182 MB / 1.24 GB, free: 129.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004118/2.238, allocations: 145 kB / 1.24 GB, free: 129 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002383/2.24, allocations: 1.772 MB / 1.242 GB, free: 127.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.81e-07/2.24, allocations: 4 kB / 1.242 GB, free: 127.2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00912/2.249, allocations: 2.469 MB / 1.244 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.0007176/2.25, allocations: 246.5 kB / 1.244 GB, free: 124.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02279/2.273, allocations: 14.54 MB / 1.259 GB, free: 109.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/2.273, allocations: 4 kB / 1.259 GB, free: 109.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01724/2.29, allocations: 9.356 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.007227/2.297, allocations: 1.38 MB / 1.269 GB, free: 99.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/2.323, allocations: 15.57 MB / 1.284 GB, free: 83.39 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006089/2.329, allocations: 4.896 MB / 1.289 GB, free: 78.46 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002595/2.332, allocations: 0.7449 MB / 1.29 GB, free: 77.71 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/2.332, allocations: 199.4 kB / 1.29 GB, free: 77.51 MB / 0.795 GB Notification: Performance of SimCode: time 7.91e-07/2.332, allocations: 3.938 kB / 1.29 GB, free: 77.51 MB / 0.795 GB Notification: Performance of Templates: time 0.5373/2.869, allocations: 147 MB / 1.434 GB, free: 232.3 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)