Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 201.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 111.3 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001114, allocations: 52.59 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3154, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01078/0.3262, allocations: 11.9 MB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.007721/0.334, allocations: 5.552 MB / 1.235 GB, free: 99.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.3355, allocations: 31.88 kB / 1.235 GB, free: 99.66 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.3379, allocations: 0.9759 MB / 1.236 GB, free: 98.69 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.3394, allocations: 0.6067 MB / 1.237 GB, free: 98.08 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.3415, allocations: 0.9078 MB / 1.238 GB, free: 97.17 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002759/0.3442, allocations: 3.781 MB / 1.241 GB, free: 93.38 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003943/0.3482, allocations: 4.051 MB / 1.245 GB, free: 89.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.3496, allocations: 0.9969 MB / 1.246 GB, free: 88.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.3509, allocations: 1.332 MB / 1.248 GB, free: 86.96 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.3511, allocations: 164 kB / 1.248 GB, free: 86.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009438/0.3521, allocations: 0.5149 MB / 1.248 GB, free: 86.29 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006255/0.3527, allocations: 0.8497 MB / 1.249 GB, free: 85.43 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008564/0.3536, allocations: 0.9607 MB / 1.25 GB, free: 84.47 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.3569, allocations: 3.771 MB / 1.254 GB, free: 80.69 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.357, allocations: 0 / 1.254 GB, free: 80.69 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.284e-06/0.357, allocations: 0 / 1.254 GB, free: 80.69 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001052/0.3571, allocations: 0 / 1.254 GB, free: 80.69 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.00534/0.3625, allocations: 2.089 MB / 1.256 GB, free: 78.54 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.3625, allocations: 11.98 kB / 1.256 GB, free: 78.53 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.3653, allocations: 0.6972 MB / 1.256 GB, free: 77.83 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.3677, allocations: 1.189 MB / 1.258 GB, free: 76.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.3678, allocations: 127.5 kB / 1.258 GB, free: 76.47 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.368, allocations: 160.1 kB / 1.258 GB, free: 76.32 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/0.3719, allocations: 2.933 MB / 1.261 GB, free: 73.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.372, allocations: 7.906 kB / 1.261 GB, free: 73.31 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.3722, allocations: 71.98 kB / 1.261 GB, free: 73.24 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003221/0.3725, allocations: 163.1 kB / 1.261 GB, free: 73.08 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.3757, allocations: 2.491 MB / 1.263 GB, free: 70.59 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.3861, allocations: 10.79 MB / 1.274 GB, free: 58.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3872, allocations: 0.9079 MB / 1.275 GB, free: 57.95 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.3878, allocations: 499.7 kB / 1.275 GB, free: 57.46 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.3879, allocations: 97.45 kB / 1.275 GB, free: 57.35 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3879, allocations: 46.88 kB / 1.275 GB, free: 57.29 MB / 0.823 GB Notification: Performance of pre-optimization done (n=46): time 2.624e-06/0.3879, allocations: 0 / 1.275 GB, free: 57.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=70): time 0.02351/0.4114, allocations: 7.696 MB / 1.283 GB, free: 49.53 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.4115, allocations: 59.97 kB / 1.283 GB, free: 49.45 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.4128, allocations: 0.9297 MB / 1.284 GB, free: 48.51 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.4129, allocations: 37.7 kB / 1.284 GB, free: 48.47 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.4134, allocations: 0.7736 MB / 1.285 GB, free: 47.68 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.4136, allocations: 244.6 kB / 1.285 GB, free: 47.44 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004339/0.414, allocations: 218.7 kB / 1.285 GB, free: 47.21 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4142, allocations: 394.8 kB / 1.285 GB, free: 46.82 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009467/0.4151, allocations: 0.7828 MB / 1.286 GB, free: 46.04 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.4162, allocations: 1.12 MB / 1.287 GB, free: 44.76 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/0.4182, allocations: 1.95 MB / 1.289 GB, free: 42.66 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4182, allocations: 4 kB / 1.289 GB, free: 42.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00864/0.4268, allocations: 3.604 MB / 1.293 GB, free: 39.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.4269, allocations: 13.28 kB / 1.293 GB, free: 39.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.4269, allocations: 12 kB / 1.293 GB, free: 39.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007355/0.4343, allocations: 1.897 MB / 1.295 GB, free: 37.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009677/0.4353, allocations: 219.6 kB / 1.295 GB, free: 36.89 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.4485, allocations: 9.803 MB / 1.304 GB, free: 26.83 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.45, allocations: 179.6 kB / 1.305 GB, free: 26.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4501, allocations: 47.98 kB / 1.305 GB, free: 26.61 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001867/0.452, allocations: 1.49 MB / 1.306 GB, free: 25.11 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001018/0.453, allocations: 1.092 MB / 1.307 GB, free: 23.87 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001961/0.455, allocations: 1.896 MB / 1.309 GB, free: 21.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.555e-06/0.455, allocations: 4 kB / 1.309 GB, free: 21.82 MB / 0.823 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.006865/0.4619, allocations: 3.045 MB / 1.312 GB, free: 18.76 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4619, allocations: 12.78 kB / 1.312 GB, free: 18.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.462, allocations: 12 kB / 1.312 GB, free: 18.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004675/0.4666, allocations: 1.195 MB / 1.313 GB, free: 17.54 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.4677, allocations: 271.5 kB / 1.313 GB, free: 17.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006651/0.4744, allocations: 5.414 MB / 1.319 GB, free: 11.72 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.4758, allocations: 167.7 kB / 1.319 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/0.4759, allocations: 44 kB / 1.319 GB, free: 11.51 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003031/0.4762, allocations: 242.9 kB / 1.319 GB, free: 11.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.4763, allocations: 82.97 kB / 1.319 GB, free: 11.19 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007784/0.4841, allocations: 3.144 MB / 1.322 GB, free: 8.023 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.4842, allocations: 8 kB / 1.322 GB, free: 8.016 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4842, allocations: 0 / 1.322 GB, free: 8.016 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.4842, allocations: 7.984 kB / 1.322 GB, free: 8.008 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.4948, allocations: 5.259 MB / 1.327 GB, free: 2.637 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.4948, allocations: 4 kB / 1.327 GB, free: 2.633 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.4952, allocations: 91.86 kB / 1.328 GB, free: 2.543 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006126/0.5014, allocations: 1.721 MB / 1.329 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-05/0.5015, allocations: 12 kB / 1.329 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/0.515, allocations: 9.22 MB / 1.338 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.515, allocations: 0 / 1.338 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.5253, allocations: 4.666 MB / 1.343 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007183/0.5261, allocations: 312 kB / 1.343 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.5262, allocations: 27.89 kB / 1.343 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009054/0.5271, allocations: 131.8 kB / 1.343 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/0.5275, allocations: 60.42 kB / 1.343 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/0.5275, allocations: 27.98 kB / 1.343 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008949/0.5284, allocations: 0.6629 MB / 1.344 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5284, allocations: 3.938 kB / 1.344 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002673/0.5311, allocations: 0.6797 MB / 1.345 GB, free: 0.6484 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002731/0.5314, allocations: 123.2 kB / 1.345 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00584/0.5373, allocations: 3.463 MB / 1.348 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.5373, allocations: 1.812 kB / 1.348 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/0.5394, allocations: 1.25 MB / 1.349 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.5407, allocations: 264.2 kB / 1.35 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.5475, allocations: 4.678 MB / 1.354 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.5491, allocations: 1.742 MB / 1.356 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001474/0.5506, allocations: 0.5186 MB / 1.356 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.5508, allocations: 59.44 kB / 1.356 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.5508, allocations: 0 / 1.356 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of Templates: time 0.04441/0.5952, allocations: 30.69 MB / 1.386 GB, free: 5.848 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)