Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001189/0.00119, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 187.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 73.59 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2769, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04557/0.3226, allocations: 41.11 MB / 0.8243 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02682/0.3495, allocations: 15.09 MB / 0.839 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006369/0.3559, allocations: 191 kB / 0.8392 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01257/0.3685, allocations: 4.458 MB / 0.8436 GB, free: 15.71 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.3799, allocations: 2.786 MB / 0.8463 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00982/0.3897, allocations: 3.171 MB / 0.8494 GB, free: 9.734 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01681/0.4065, allocations: 11.39 MB / 0.8605 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01975/0.4263, allocations: 12.46 MB / 0.8727 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009734/0.4361, allocations: 4.822 MB / 0.8774 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009592/0.4457, allocations: 5.39 MB / 0.8826 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003542/0.4493, allocations: 0.9531 MB / 0.8836 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006863/0.4562, allocations: 2.036 MB / 0.8856 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.006824/0.463, allocations: 3.688 MB / 0.8892 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01079/0.4739, allocations: 4.303 MB / 0.8934 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4898/0.9637, allocations: 14.27 MB / 0.9073 GB, free: 44.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.9637, allocations: 0.9688 kB / 0.9073 GB, free: 44.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9638, allocations: 0 / 0.9073 GB, free: 44.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000526/0.9643, allocations: 1.969 kB / 0.9073 GB, free: 44.23 MB / 0.7169 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.02678/0.9911, allocations: 7.601 MB / 0.9147 GB, free: 41.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.9911, allocations: 12.39 kB / 0.9147 GB, free: 41.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/1.003, allocations: 1.52 MB / 0.9162 GB, free: 41.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.015, allocations: 4.44 MB / 0.9206 GB, free: 40.51 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004827/1.016, allocations: 452.6 kB / 0.921 GB, free: 40.49 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002966/1.019, allocations: 0.6009 MB / 0.9216 GB, free: 40.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02799/1.047, allocations: 10.68 MB / 0.932 GB, free: 39.36 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00049/1.047, allocations: 38.47 kB / 0.932 GB, free: 39.35 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002695/1.05, allocations: 259.5 kB / 0.9323 GB, free: 39.35 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003179/1.053, allocations: 0.7757 MB / 0.933 GB, free: 39.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02097/1.074, allocations: 8.56 MB / 0.9414 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0618/1.136, allocations: 46.54 MB / 0.9868 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005276/1.142, allocations: 4.309 MB / 0.9911 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005078/1.147, allocations: 3.695 MB / 0.9947 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/1.147, allocations: 41.47 kB / 0.9947 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.715e-05/1.147, allocations: 80 kB / 0.9948 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 6.052e-06/1.147, allocations: 0 / 0.9948 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.5528/1.7, allocations: 122.7 MB / 1.115 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.7, allocations: 111.9 kB / 1.115 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00491/1.705, allocations: 2.677 MB / 1.117 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001221/1.706, allocations: 121.7 kB / 1.117 GB, free: 7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001987/1.708, allocations: 2.684 MB / 1.12 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002506/1.711, allocations: 1.959 MB / 1.122 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001923/1.713, allocations: 0.9248 MB / 1.123 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.713, allocations: 301.1 kB / 1.123 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00595/1.719, allocations: 4.078 MB / 1.127 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00666/1.726, allocations: 5.021 MB / 1.132 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/1.74, allocations: 9.848 MB / 1.142 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.42e-05/1.74, allocations: 8 kB / 1.142 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04051/1.78, allocations: 16.99 MB / 1.158 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.219e-05/1.78, allocations: 16 kB / 1.158 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.212e-05/1.78, allocations: 24.84 kB / 1.158 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03372/1.814, allocations: 9.084 MB / 1.167 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/1.817, allocations: 0.5168 MB / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1189/1.936, allocations: 76.97 MB / 1.243 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006995/1.943, allocations: 279.8 kB / 1.243 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001737/1.945, allocations: 195.4 kB / 1.243 GB, free: 4.348 MB / 0.9669 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.006943/1.952, allocations: 2.427 MB / 1.246 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002203/1.954, allocations: 470.5 kB / 1.246 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04367/1.997, allocations: 16.81 MB / 1.263 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.605e-05/1.998, allocations: 56 kB / 1.263 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000282/1.998, allocations: 76 kB / 1.263 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001659/1.998, allocations: 27.89 kB / 1.263 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6085/2.607, allocations: 25.65 MB / 1.288 GB, free: 363.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.994e-05/2.607, allocations: 7.984 kB / 1.288 GB, free: 363.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/2.609, allocations: 316.3 kB / 1.288 GB, free: 363.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02981/2.638, allocations: 8.274 MB / 1.296 GB, free: 363.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001586/2.64, allocations: 108.3 kB / 1.296 GB, free: 363.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0902/2.73, allocations: 73.82 MB / 1.368 GB, free: 322.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/2.73, allocations: 19.92 kB / 1.368 GB, free: 322.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03788/2.768, allocations: 21.57 MB / 1.389 GB, free: 300.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004264/2.773, allocations: 1.362 MB / 1.391 GB, free: 299.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00224/2.775, allocations: 107.9 kB / 1.391 GB, free: 299.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004694/2.78, allocations: 287.6 kB / 1.391 GB, free: 298.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002744/2.782, allocations: 0.5221 MB / 1.392 GB, free: 298.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004357/2.783, allocations: 144 kB / 1.392 GB, free: 298.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002206/2.785, allocations: 1.78 MB / 1.394 GB, free: 296.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/2.785, allocations: 0 / 1.394 GB, free: 296.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007942/2.793, allocations: 2.465 MB / 1.396 GB, free: 294 MB / 0.9981 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.0007656/2.794, allocations: 240.4 kB / 1.396 GB, free: 293.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0215/2.815, allocations: 14.53 MB / 1.41 GB, free: 279 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/2.815, allocations: 4 kB / 1.41 GB, free: 279 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01669/2.832, allocations: 9.362 MB / 1.42 GB, free: 269.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/2.842, allocations: 1.377 MB / 1.421 GB, free: 268.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02981/2.872, allocations: 15.58 MB / 1.436 GB, free: 252.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008505/2.881, allocations: 4.896 MB / 1.441 GB, free: 247.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00377/2.885, allocations: 0.7412 MB / 1.442 GB, free: 246.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/2.886, allocations: 199.4 kB / 1.442 GB, free: 246.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.453e-06/2.886, allocations: 0 / 1.442 GB, free: 246.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.2023/3.088, allocations: 144.7 MB / 1.583 GB, free: 103.3 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)