Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.439/2.439, allocations: 391.2 MB / 407 MB, free: 10.81 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.001302/0.001302, allocations: 198.9 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.587/1.587, allocations: 222.9 MB / 0.7948 GB, free: 15.92 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.001176/0.001176, allocations: 106.4 kB / 0.9329 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 51.66 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3146, 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): time 0.01839/0.333, allocations: 22.42 MB / 1.24 GB, free: 94.78 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.009241/0.3423, allocations: 6.233 MB / 1.246 GB, free: 88.53 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.3445, allocations: 87.5 kB / 1.246 GB, free: 88.45 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00348/0.348, allocations: 1.412 MB / 1.248 GB, free: 87.03 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.352, allocations: 1.549 MB / 1.249 GB, free: 85.48 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.3551, allocations: 1.213 MB / 1.25 GB, free: 84.27 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.007105/0.3622, allocations: 8.896 MB / 1.259 GB, free: 75.35 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007854/0.3701, allocations: 6.742 MB / 1.266 GB, free: 68.54 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.3735, allocations: 2.078 MB / 1.268 GB, free: 66.45 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003836/0.3773, allocations: 2.96 MB / 1.27 GB, free: 63.48 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007279/0.3781, allocations: 320 kB / 1.271 GB, free: 63.17 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.3805, allocations: 1.131 MB / 1.272 GB, free: 62.04 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001591/0.3821, allocations: 1.894 MB / 1.274 GB, free: 60.14 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.3843, allocations: 2.006 MB / 1.276 GB, free: 58.12 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005256/0.3895, allocations: 7.19 MB / 1.283 GB, free: 50.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3896, allocations: 0 / 1.283 GB, free: 50.91 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.582e-06/0.3896, allocations: 0 / 1.283 GB, free: 50.91 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001782/0.3898, allocations: 8 kB / 1.283 GB, free: 50.9 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008413/0.3982, allocations: 3.809 MB / 1.286 GB, free: 47.03 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.3982, allocations: 15.92 kB / 1.286 GB, free: 47.02 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005949/0.4042, allocations: 1.206 MB / 1.288 GB, free: 45.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004901/0.4091, allocations: 2.223 MB / 1.29 GB, free: 43.52 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.4093, allocations: 238.4 kB / 1.29 GB, free: 43.29 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007999/0.4101, allocations: 319.9 kB / 1.29 GB, free: 42.98 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008994/0.4191, allocations: 6.212 MB / 1.296 GB, free: 36.51 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-05/0.4192, allocations: 19.86 kB / 1.296 GB, free: 36.49 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.4195, allocations: 136 kB / 1.297 GB, free: 36.36 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003721/0.4199, allocations: 406.3 kB / 1.297 GB, free: 35.96 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006738/0.4267, allocations: 4.658 MB / 1.301 GB, free: 31.29 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/0.456, allocations: 29.13 MB / 1.33 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.4582, allocations: 1.424 MB / 1.331 GB, free: 14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.4602, allocations: 1.492 MB / 1.333 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.4603, allocations: 12.94 kB / 1.333 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/0.4603, allocations: 47.56 kB / 1.333 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.296e-06/0.4604, allocations: 3.938 kB / 1.333 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.1421/0.6025, allocations: 37.23 MB / 1.369 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.6026, allocations: 69.41 kB / 1.369 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.6046, allocations: 1.423 MB / 1.371 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002889/0.6049, allocations: 53.7 kB / 1.371 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.606, allocations: 1.542 MB / 1.372 GB, free: 4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008143/0.6068, allocations: 0.6006 MB / 1.373 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000723/0.6076, allocations: 391.2 kB / 1.373 GB, free: 3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6077, allocations: 301.1 kB / 1.373 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.6102, allocations: 1.788 MB / 1.375 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002767/0.6129, allocations: 2.35 MB / 1.377 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005498/0.6185, allocations: 4.387 MB / 1.382 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.6185, allocations: 4 kB / 1.382 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01697/0.6355, allocations: 8.567 MB / 1.39 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.6355, allocations: 12 kB / 1.39 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.6355, allocations: 20 kB / 1.39 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01411/0.6497, allocations: 4.643 MB / 1.395 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.6508, allocations: 307.5 kB / 1.395 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5477/1.199, allocations: 29.66 MB / 1.424 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/1.201, allocations: 146.8 kB / 1.424 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/1.201, allocations: 86.14 kB / 1.424 GB, free: 182.7 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00261/1.204, allocations: 1.334 MB / 1.425 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/1.204, allocations: 201.3 kB / 1.426 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02148/1.226, allocations: 8.433 MB / 1.434 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/1.226, allocations: 21.03 kB / 1.434 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001393/1.226, allocations: 27.44 kB / 1.434 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.503e-05/1.226, allocations: 9 kB / 1.434 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02417/1.25, allocations: 12.84 MB / 1.446 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.25, allocations: 7.844 kB / 1.446 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/1.251, allocations: 164.3 kB / 1.447 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01307/1.264, allocations: 4.486 MB / 1.451 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003081/1.265, allocations: 35.72 kB / 1.451 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03786/1.302, allocations: 29.28 MB / 1.48 GB, free: 154.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.302, allocations: 11.94 kB / 1.48 GB, free: 154.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/1.32, allocations: 11.88 MB / 1.491 GB, free: 142.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.322, allocations: 0.6118 MB / 1.492 GB, free: 142 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/1.322, allocations: 43.94 kB / 1.492 GB, free: 141.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.323, allocations: 135.8 kB / 1.492 GB, free: 141.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008935/1.324, allocations: 173.5 kB / 1.492 GB, free: 141.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.325, allocations: 44 kB / 1.492 GB, free: 141.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001097/1.326, allocations: 0.9678 MB / 1.493 GB, free: 140.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.326, allocations: 4 kB / 1.493 GB, free: 140.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003164/1.329, allocations: 1.113 MB / 1.494 GB, free: 139.5 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000264/1.329, allocations: 152.3 kB / 1.494 GB, free: 139.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.34, allocations: 6.516 MB / 1.501 GB, free: 132.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/1.34, allocations: 3.562 kB / 1.501 GB, free: 132.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008205/1.348, allocations: 4.362 MB / 1.505 GB, free: 128.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/1.35, allocations: 493.6 kB / 1.506 GB, free: 127.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009586/1.36, allocations: 9.404 MB / 1.515 GB, free: 118.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/1.362, allocations: 2.811 MB / 1.517 GB, free: 115.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00102/1.363, allocations: 390 kB / 1.518 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/1.363, allocations: 99.44 kB / 1.518 GB, free: 115.1 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/1.363, allocations: 0 / 1.518 GB, free: 115.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.07378/1.437, allocations: 61.11 MB / 1.578 GB, free: 54.27 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)