Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.29/2.29, allocations: 391.2 MB / 407 MB, free: 10.89 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.001298/0.001298, allocations: 193.6 kB / 499.1 MB, free: 4.676 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.526/1.526, allocations: 222.9 MB / 0.7948 GB, free: 15.88 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.0009465/0.0009466, allocations: 94.02 kB / 0.9329 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 49.61 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2623, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01828/0.2806, allocations: 23.24 MB / 1.241 GB, free: 93.98 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.009039/0.2897, allocations: 6.496 MB / 1.247 GB, free: 87.47 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.2916, allocations: 83.5 kB / 1.247 GB, free: 87.39 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.2946, allocations: 1.357 MB / 1.249 GB, free: 86.03 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003326/0.298, allocations: 1.739 MB / 1.25 GB, free: 84.28 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.3007, allocations: 1.329 MB / 1.252 GB, free: 82.95 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006789/0.3075, allocations: 10.64 MB / 1.262 GB, free: 72.29 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00946/0.317, allocations: 7.633 MB / 1.269 GB, free: 64.57 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.3203, allocations: 2.429 MB / 1.272 GB, free: 62.14 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004112/0.3245, allocations: 3.607 MB / 1.275 GB, free: 58.52 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.3256, allocations: 380 kB / 1.276 GB, free: 58.15 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.3282, allocations: 1.205 MB / 1.277 GB, free: 56.94 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002529/0.3307, allocations: 2.308 MB / 1.279 GB, free: 54.63 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.004023/0.3348, allocations: 2.353 MB / 1.281 GB, free: 52.27 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005903/0.3407, allocations: 8.382 MB / 1.29 GB, free: 43.86 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3407, allocations: 0 / 1.29 GB, free: 43.86 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3407, allocations: 0 / 1.29 GB, free: 43.86 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001799/0.3409, allocations: 4 kB / 1.29 GB, free: 43.86 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.00721/0.3481, allocations: 4.429 MB / 1.294 GB, free: 39.36 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3482, allocations: 11.98 kB / 1.294 GB, free: 39.35 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007367/0.3556, allocations: 1.685 MB / 1.296 GB, free: 37.66 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004757/0.3603, allocations: 2.575 MB / 1.298 GB, free: 35.03 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.3605, allocations: 279.7 kB / 1.298 GB, free: 34.75 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006631/0.3612, allocations: 360.3 kB / 1.299 GB, free: 34.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.3712, allocations: 7.483 MB / 1.306 GB, free: 26.66 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.169e-05/0.3713, allocations: 15.88 kB / 1.306 GB, free: 26.64 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004285/0.3717, allocations: 159.9 kB / 1.306 GB, free: 26.48 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004134/0.3722, allocations: 491.3 kB / 1.307 GB, free: 26 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008007/0.3802, allocations: 5.697 MB / 1.312 GB, free: 20.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03541/0.4156, allocations: 31.73 MB / 1.343 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/0.4187, allocations: 2.082 MB / 1.345 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002995/0.4217, allocations: 2.178 MB / 1.347 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.422, allocations: 21.22 kB / 1.347 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.422, allocations: 51.81 kB / 1.347 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 3.366e-06/0.422, allocations: 0 / 1.347 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.3189/0.7409, allocations: 76.99 MB / 1.423 GB, free: 296 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.741, allocations: 77.41 kB / 1.423 GB, free: 208 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4975/1.238, allocations: 1.669 MB / 1.424 GB, free: 188 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006265/1.239, allocations: 65.36 kB / 1.424 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/1.241, allocations: 1.751 MB / 1.426 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.242, allocations: 0.8502 MB / 1.427 GB, free: 186.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/1.243, allocations: 485.2 kB / 1.427 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/1.243, allocations: 301.7 kB / 1.428 GB, free: 186.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004727/1.248, allocations: 2.729 MB / 1.43 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00543/1.253, allocations: 3.329 MB / 1.434 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009431/1.263, allocations: 6.398 MB / 1.44 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.648e-05/1.263, allocations: 7.438 kB / 1.44 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03284/1.296, allocations: 14.68 MB / 1.454 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/1.296, allocations: 16.03 kB / 1.454 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/1.296, allocations: 16.84 kB / 1.454 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03077/1.326, allocations: 9.241 MB / 1.463 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.328, allocations: 304.8 kB / 1.463 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06712/1.395, allocations: 47.44 MB / 1.51 GB, free: 126.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/1.398, allocations: 215.7 kB / 1.51 GB, free: 126.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006513/1.399, allocations: 100 kB / 1.51 GB, free: 126.3 MB / 0.9167 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00305/1.402, allocations: 1.587 MB / 1.512 GB, free: 124.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007913/1.403, allocations: 245 kB / 1.512 GB, free: 124.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03071/1.434, allocations: 14.75 MB / 1.526 GB, free: 109.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/1.434, allocations: 25.31 kB / 1.526 GB, free: 109.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001986/1.434, allocations: 47.94 kB / 1.526 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.328e-05/1.434, allocations: 11.95 kB / 1.526 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04008/1.474, allocations: 20.52 MB / 1.546 GB, free: 88.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/1.474, allocations: 8 kB / 1.546 GB, free: 88.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/1.475, allocations: 167.7 kB / 1.547 GB, free: 88.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02714/1.502, allocations: 9.004 MB / 1.555 GB, free: 79.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001084/1.503, allocations: 48 kB / 1.555 GB, free: 79.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0636/1.567, allocations: 47.01 MB / 1.601 GB, free: 31.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/1.567, allocations: 8 kB / 1.601 GB, free: 31.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03425/1.601, allocations: 19.7 MB / 1.621 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/1.604, allocations: 0.8455 MB / 1.621 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000878/1.605, allocations: 51.91 kB / 1.621 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002764/1.608, allocations: 216.5 kB / 1.622 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001559/1.609, allocations: 237.5 kB / 1.622 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003397/1.61, allocations: 64 kB / 1.622 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001795/1.611, allocations: 1.125 MB / 1.623 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.31e-07/1.611, allocations: 3.938 kB / 1.623 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005911/1.617, allocations: 1.617 MB / 1.625 GB, free: 7.715 MB / 0.9167 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006198/1.618, allocations: 156.9 kB / 1.625 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0219/1.64, allocations: 10.53 MB / 1.635 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.64, allocations: 4 kB / 1.635 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01836/1.658, allocations: 7.32 MB / 1.642 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/1.662, allocations: 0.5153 MB / 1.643 GB, free: 5.082 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/1.683, allocations: 11.96 MB / 1.654 GB, free: 9.043 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005029/1.688, allocations: 3.302 MB / 1.658 GB, free: 5.703 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00133/1.69, allocations: 387.3 kB / 1.658 GB, free: 5.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/1.69, allocations: 103.4 kB / 1.658 GB, free: 5.219 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/1.69, allocations: 0 / 1.658 GB, free: 5.219 MB / 0.948 GB Notification: Performance of Templates: time 0.1313/1.821, allocations: 93.34 MB / 1.749 GB, free: 8.145 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)