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.001456/0.001456, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.0016/0.0016, allocations: 196 kB / 17.98 MB, free: 5.031 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7234/0.7234, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.12 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3437, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03918/0.383, allocations: 41.16 MB / 0.5978 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02298/0.406, allocations: 15.09 MB / 0.6125 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005865/0.4119, allocations: 188.3 kB / 0.6127 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01228/0.4242, allocations: 4.462 MB / 0.6171 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009007/0.4333, allocations: 2.799 MB / 0.6198 GB, free: 4.738 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008075/0.4414, allocations: 3.147 MB / 0.6229 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01351/0.4549, allocations: 11.41 MB / 0.634 GB, free: 6.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01654/0.4714, allocations: 12.47 MB / 0.6462 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008662/0.4801, allocations: 4.818 MB / 0.6509 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00918/0.4893, allocations: 5.394 MB / 0.6562 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003073/0.4924, allocations: 0.9492 MB / 0.6571 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005991/0.4985, allocations: 2.036 MB / 0.6591 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.005535/0.504, allocations: 3.695 MB / 0.6627 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008832/0.5129, allocations: 4.295 MB / 0.6669 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.5294, allocations: 14.27 MB / 0.6808 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5295, allocations: 0 / 0.6808 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.957e-06/0.5295, allocations: 4 kB / 0.6808 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003844/0.5299, allocations: 3.938 kB / 0.6808 GB, free: 5.984 MB / 0.5137 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.02131/0.5512, allocations: 7.597 MB / 0.6882 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5513, allocations: 8.031 kB / 0.6882 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.5623, allocations: 1.526 MB / 0.6897 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.5731, allocations: 4.435 MB / 0.6941 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003998/0.5735, allocations: 452.5 kB / 0.6945 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/0.576, allocations: 0.6017 MB / 0.6951 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.5985, allocations: 10.69 MB / 0.7055 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001946/0.5987, allocations: 27.77 kB / 0.7055 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.5998, allocations: 267.9 kB / 0.7058 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002636/0.6025, allocations: 0.7729 MB / 0.7066 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/0.62, allocations: 8.557 MB / 0.7149 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3201/0.9401, allocations: 46.52 MB / 0.7603 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005979/0.9461, allocations: 4.317 MB / 0.7646 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005363/0.9515, allocations: 3.7 MB / 0.7682 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/0.9519, allocations: 44.88 kB / 0.7682 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.9519, allocations: 76.47 kB / 0.7683 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 5.73e-06/0.952, allocations: 1.094 kB / 0.7683 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4644/1.416, allocations: 122.7 MB / 0.8881 GB, free: 33.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/1.416, allocations: 115.9 kB / 0.8882 GB, free: 33.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003095/1.42, allocations: 2.677 MB / 0.8909 GB, free: 30.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.421, allocations: 121.7 kB / 0.891 GB, free: 30.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001135/1.422, allocations: 2.682 MB / 0.8936 GB, free: 27.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001701/1.423, allocations: 1.948 MB / 0.8955 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001691/1.425, allocations: 0.9287 MB / 0.8964 GB, free: 24.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/1.425, allocations: 305.1 kB / 0.8967 GB, free: 24.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004815/1.43, allocations: 4.075 MB / 0.9007 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005451/1.435, allocations: 5.023 MB / 0.9056 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/1.447, allocations: 9.848 MB / 0.9152 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/1.447, allocations: 4 kB / 0.9152 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03878/1.486, allocations: 17 MB / 0.9318 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/1.486, allocations: 17.66 kB / 0.9318 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/1.486, allocations: 24 kB / 0.9318 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03236/1.518, allocations: 9.08 MB / 0.9407 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/1.521, allocations: 0.5256 MB / 0.9412 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3623/1.883, allocations: 76.96 MB / 1.016 GB, free: 202 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004647/1.888, allocations: 282.2 kB / 1.017 GB, free: 201.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007186/1.889, allocations: 193 kB / 1.017 GB, free: 201.8 MB / 0.6544 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.004124/1.893, allocations: 2.424 MB / 1.019 GB, free: 200.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.894, allocations: 470.2 kB / 1.02 GB, free: 200.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03839/1.932, allocations: 16.82 MB / 1.036 GB, free: 194.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.455e-05/1.932, allocations: 55.06 kB / 1.036 GB, free: 194.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002143/1.933, allocations: 71.5 kB / 1.036 GB, free: 194.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.864e-05/1.933, allocations: 28.12 kB / 1.036 GB, free: 194.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04786/1.981, allocations: 25.66 MB / 1.061 GB, free: 184.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6e-05/1.981, allocations: 7.156 kB / 1.061 GB, free: 184.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.983, allocations: 320.2 kB / 1.062 GB, free: 184.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02714/2.01, allocations: 8.274 MB / 1.07 GB, free: 180.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009711/2.011, allocations: 103.9 kB / 1.07 GB, free: 180.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08733/2.098, allocations: 73.83 MB / 1.142 GB, free: 105.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.098, allocations: 11.94 kB / 1.142 GB, free: 105.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03904/2.137, allocations: 21.57 MB / 1.163 GB, free: 83.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003968/2.141, allocations: 1.354 MB / 1.164 GB, free: 82.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/2.142, allocations: 120.2 kB / 1.164 GB, free: 81.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003759/2.146, allocations: 286.3 kB / 1.165 GB, free: 81.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001951/2.148, allocations: 0.5221 MB / 1.165 GB, free: 81.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005399/2.149, allocations: 144 kB / 1.165 GB, free: 81.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0023/2.151, allocations: 1.776 MB / 1.167 GB, free: 79.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/2.151, allocations: 0 / 1.167 GB, free: 79.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007384/2.158, allocations: 2.465 MB / 1.169 GB, free: 76.79 MB / 0.6544 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.0008327/2.159, allocations: 252.6 kB / 1.17 GB, free: 76.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02184/2.181, allocations: 14.54 MB / 1.184 GB, free: 61.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/2.181, allocations: 4.125 kB / 1.184 GB, free: 61.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01545/2.197, allocations: 9.338 MB / 1.193 GB, free: 52.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005713/2.202, allocations: 1.365 MB / 1.194 GB, free: 51.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/2.225, allocations: 15.59 MB / 1.21 GB, free: 35.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00562/2.23, allocations: 4.896 MB / 1.214 GB, free: 30.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002407/2.233, allocations: 0.7449 MB / 1.215 GB, free: 29.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005571/2.233, allocations: 195.4 kB / 1.215 GB, free: 29.52 MB / 0.6544 GB Notification: Performance of SimCode: time 7.42e-07/2.233, allocations: 3.938 kB / 1.215 GB, free: 29.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.4571/2.69, allocations: 144.7 MB / 1.357 GB, free: 121.7 MB / 0.6544 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)