Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001497, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002201/0.002201, allocations: 190 kB / 16.14 MB, free: 6.703 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.481/1.481, allocations: 205.1 MB / 222 MB, free: 4.75 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.716/1.716, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.00168/0.00168, allocations: 63.17 kB / 0.6708 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2497, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02207/0.2719, allocations: 20.03 MB / 0.8022 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.2835, allocations: 6.493 MB / 0.8086 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.2863, allocations: 79.56 kB / 0.8087 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005691/0.2921, allocations: 2.085 MB / 0.8107 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003801/0.2959, allocations: 1.108 MB / 0.8118 GB, free: 88 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.2995, allocations: 1.165 MB / 0.8129 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00753/0.307, allocations: 6.964 MB / 0.8197 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.3171, allocations: 6.172 MB / 0.8257 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003505/0.3207, allocations: 1.775 MB / 0.8275 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004106/0.3248, allocations: 2.395 MB / 0.8298 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.3261, allocations: 292 kB / 0.8301 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.3294, allocations: 1.026 MB / 0.8311 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002718/0.3321, allocations: 1.528 MB / 0.8326 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004051/0.3362, allocations: 1.762 MB / 0.8343 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008091/0.3443, allocations: 6.419 MB / 0.8406 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3444, allocations: 0 / 0.8406 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3444, allocations: 0 / 0.8406 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002346/0.3446, allocations: 0 / 0.8406 GB, free: 2.477 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01036/0.355, allocations: 3.448 MB / 0.8439 GB, free: 14.96 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.355, allocations: 8.031 kB / 0.8439 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/0.359, allocations: 0.641 MB / 0.8446 GB, free: 14.31 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.3634, allocations: 1.939 MB / 0.8465 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.3636, allocations: 230.3 kB / 0.8467 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006171/0.3642, allocations: 288.4 kB / 0.847 GB, free: 11.8 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007924/0.3721, allocations: 4.89 MB / 0.8517 GB, free: 6.715 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.861e-05/0.3722, allocations: 15.83 kB / 0.8518 GB, free: 6.699 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/0.3725, allocations: 132 kB / 0.8519 GB, free: 6.57 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004244/0.373, allocations: 225.7 kB / 0.8521 GB, free: 6.348 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006346/0.3793, allocations: 3.75 MB / 0.8558 GB, free: 2.586 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/0.4016, allocations: 21.57 MB / 0.8768 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.4034, allocations: 1.316 MB / 0.8781 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.4048, allocations: 1.046 MB / 0.8791 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/0.4049, allocations: 9 kB / 0.8791 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.405, allocations: 47.56 kB / 0.8792 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 3.867e-06/0.405, allocations: 0 / 0.8792 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02317/0.4282, allocations: 8.645 MB / 0.8876 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.4283, allocations: 68.72 kB / 0.8877 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.4299, allocations: 1.134 MB / 0.8888 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.43, allocations: 49.69 kB / 0.8888 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000803/0.4308, allocations: 1.3 MB / 0.8901 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.4312, allocations: 481.1 kB / 0.8906 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004557/0.4317, allocations: 291.3 kB / 0.8909 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.4318, allocations: 305.1 kB / 0.8911 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.433, allocations: 0.9213 MB / 0.892 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.4346, allocations: 1.326 MB / 0.8933 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003707/0.4384, allocations: 2.422 MB / 0.8957 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4384, allocations: 4 kB / 0.8957 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006734/0.4451, allocations: 3.467 MB / 0.8991 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.4452, allocations: 8 kB / 0.8991 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.4452, allocations: 16 kB / 0.8991 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/0.4484, allocations: 1.185 MB / 0.9003 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/0.4493, allocations: 255.6 kB / 0.9005 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/0.4654, allocations: 12.72 MB / 0.9129 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4669, allocations: 91.97 kB / 0.913 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.467, allocations: 63.98 kB / 0.9131 GB, free: 4.977 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001857/0.4689, allocations: 1.118 MB / 0.9142 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.4692, allocations: 158.1 kB / 0.9143 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005433/0.4746, allocations: 3.173 MB / 0.9174 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.4746, allocations: 16 kB / 0.9174 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/0.4747, allocations: 8 kB / 0.9175 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.4747, allocations: 15.91 kB / 0.9175 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5014/0.9761, allocations: 6.239 MB / 0.9236 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.9762, allocations: 4.656 kB / 0.9236 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.9767, allocations: 148.3 kB / 0.9237 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/0.9795, allocations: 1.078 MB / 0.9248 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.9797, allocations: 27.72 kB / 0.9248 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.9953, allocations: 12.4 MB / 0.9369 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.9954, allocations: 5.594 kB / 0.9369 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0066/1.002, allocations: 3.164 MB / 0.94 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.003, allocations: 422.8 kB / 0.9404 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/1.003, allocations: 30.69 kB / 0.9404 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/1.004, allocations: 86.92 kB / 0.9405 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006237/1.005, allocations: 123.9 kB / 0.9406 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.005, allocations: 40.64 kB / 0.9407 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001601/1.007, allocations: 0.7662 MB / 0.9414 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.007, allocations: 6.781 kB / 0.9414 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00327/1.01, allocations: 0.6574 MB / 0.9421 GB, free: 117.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002847/1.01, allocations: 140.8 kB / 0.9422 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005521/1.016, allocations: 3.119 MB / 0.9452 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/1.016, allocations: 1.375 kB / 0.9452 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003261/1.019, allocations: 1.96 MB / 0.9472 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/1.022, allocations: 469.4 kB / 0.9476 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.034, allocations: 6.742 MB / 0.9542 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002702/1.037, allocations: 2.337 MB / 0.9565 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001624/1.038, allocations: 355.5 kB / 0.9568 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/1.038, allocations: 85.69 kB / 0.9569 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.343e-06/1.038, allocations: 0 / 0.9569 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.04983/1.088, allocations: 31.65 MB / 0.9878 GB, free: 85.21 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)