Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009793/0.0009794, allocations: 174.4 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006806/0.0006806, allocations: 104.3 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 9.156 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.167, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02521/0.1923, allocations: 34.06 MB / 0.93 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.2061, allocations: 11.63 MB / 0.9414 GB, free: 22.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.2086, allocations: 143.2 kB / 0.9415 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.007833/0.2165, allocations: 3.959 MB / 0.9454 GB, free: 18.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004618/0.2211, allocations: 1.867 MB / 0.9472 GB, free: 16.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005037/0.2262, allocations: 2.17 MB / 0.9493 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009031/0.2352, allocations: 12.4 MB / 0.9614 GB, free: 1.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01644/0.2517, allocations: 12.27 MB / 0.9734 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004665/0.2564, allocations: 2.684 MB / 0.976 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005324/0.2618, allocations: 3.562 MB / 0.9795 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008692/0.2627, allocations: 331.9 kB / 0.9798 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/0.2664, allocations: 1.903 MB / 0.9817 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002584/0.269, allocations: 2.459 MB / 0.9841 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003305/0.2724, allocations: 2.713 MB / 0.9867 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.009432/0.2818, allocations: 9.974 MB / 0.9965 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2818, allocations: 0 / 0.9965 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.604e-06/0.2819, allocations: 4 kB / 0.9965 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002929/0.2822, allocations: 0 / 0.9965 GB, free: 13.7 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.009332/0.2915, allocations: 4.66 MB / 1.001 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2915, allocations: 8.031 kB / 1.001 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005943/0.2975, allocations: 1.064 MB / 1.002 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005837/0.3034, allocations: 3.255 MB / 1.005 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.3037, allocations: 415.5 kB / 1.006 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.3048, allocations: 0.5392 MB / 1.006 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/0.3205, allocations: 9.079 MB / 1.015 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/0.3207, allocations: 27.72 kB / 1.015 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005788/0.3213, allocations: 232 kB / 1.015 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003372/0.3216, allocations: 350.8 kB / 1.016 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.3338, allocations: 6.826 MB / 1.022 GB, free: 2.801 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3717/0.7055, allocations: 40.19 MB / 1.062 GB, free: 124.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.709, allocations: 3.119 MB / 1.065 GB, free: 124 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002606/0.7117, allocations: 1.954 MB / 1.066 GB, free: 124 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.7118, allocations: 18.62 kB / 1.067 GB, free: 124 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.7118, allocations: 51.28 kB / 1.067 GB, free: 123.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=179): time 3.837e-06/0.7118, allocations: 2.344 kB / 1.067 GB, free: 123.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=182): time 0.02433/0.7362, allocations: 10.03 MB / 1.076 GB, free: 122.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.7362, allocations: 75.06 kB / 1.076 GB, free: 122.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.7382, allocations: 1.528 MB / 1.078 GB, free: 122.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.7383, allocations: 54.23 kB / 1.078 GB, free: 122.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009702/0.7393, allocations: 2.255 MB / 1.08 GB, free: 121.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/0.7397, allocations: 0.6278 MB / 1.081 GB, free: 120.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.74, allocations: 178.8 kB / 1.081 GB, free: 120.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.015e-05/0.74, allocations: 308.8 kB / 1.081 GB, free: 120.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.7415, allocations: 1.18 MB / 1.082 GB, free: 120.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.743, allocations: 1.887 MB / 1.084 GB, free: 118.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.7462, allocations: 3.371 MB / 1.088 GB, free: 116.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.7462, allocations: 7.031 kB / 1.088 GB, free: 116.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00731/0.7535, allocations: 4.582 MB / 1.092 GB, free: 115 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.7535, allocations: 11.78 kB / 1.092 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/0.7536, allocations: 22.44 kB / 1.092 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003738/0.7573, allocations: 1.591 MB / 1.094 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.7584, allocations: 349.9 kB / 1.094 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/0.7757, allocations: 17.07 MB / 1.111 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.7774, allocations: 117.7 kB / 1.111 GB, free: 102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.7776, allocations: 104 kB / 1.111 GB, free: 102 MB / 0.698 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002746/0.7804, allocations: 1.894 MB / 1.113 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.7808, allocations: 225.4 kB / 1.113 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005603/0.7864, allocations: 4.09 MB / 1.117 GB, free: 96.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.7864, allocations: 20 kB / 1.117 GB, free: 96.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/0.7864, allocations: 16 kB / 1.117 GB, free: 96.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.7864, allocations: 7.969 kB / 1.117 GB, free: 96.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.7991, allocations: 9.468 MB / 1.126 GB, free: 86.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.7991, allocations: 4 kB / 1.126 GB, free: 86.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.7998, allocations: 183.7 kB / 1.126 GB, free: 86.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/0.8028, allocations: 1.358 MB / 1.128 GB, free: 85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.803, allocations: 36 kB / 1.128 GB, free: 84.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/0.8182, allocations: 15.97 MB / 1.143 GB, free: 68.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.8182, allocations: 14.23 kB / 1.143 GB, free: 68.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005697/0.8239, allocations: 4.069 MB / 1.147 GB, free: 64.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.8251, allocations: 0.5295 MB / 1.148 GB, free: 63.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/0.8254, allocations: 43.92 kB / 1.148 GB, free: 63.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008529/0.8263, allocations: 87.89 kB / 1.148 GB, free: 63.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/0.8267, allocations: 161.7 kB / 1.148 GB, free: 63.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/0.8268, allocations: 48 kB / 1.148 GB, free: 63.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001038/0.8279, allocations: 1.001 MB / 1.149 GB, free: 62.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8279, allocations: 0 / 1.149 GB, free: 62.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002812/0.8307, allocations: 0.9883 MB / 1.15 GB, free: 61.41 MB / 0.698 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002326/0.8309, allocations: 147 kB / 1.15 GB, free: 61.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005375/0.8363, allocations: 4.286 MB / 1.154 GB, free: 56.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.8363, allocations: 4 kB / 1.154 GB, free: 56.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003393/0.8397, allocations: 2.672 MB / 1.157 GB, free: 54.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/0.8437, allocations: 0.7182 MB / 1.158 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.857, allocations: 11.77 MB / 1.169 GB, free: 41.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003402/0.8604, allocations: 3.666 MB / 1.173 GB, free: 37.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/0.861, allocations: 127.4 kB / 1.173 GB, free: 37.83 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/0.861, allocations: 0 / 1.173 GB, free: 37.83 MB / 0.698 GB Notification: Performance of Templates: time 0.1512/1.012, allocations: 158.8 MB / 1.328 GB, free: 6.965 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)