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.418/1.418, allocations: 252 MB / 268 MB, free: 10.86 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.001079/0.001079, allocations: 175.2 kB / 327.6 MB, free: 2.082 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.462/1.462, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0008173/0.0008173, allocations: 91.89 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002925, allocations: 11.25 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1947, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0292/0.224, allocations: 33.57 MB / 0.9343 GB, free: 29.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.2422, allocations: 11.53 MB / 0.9455 GB, free: 18.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0043/0.2466, allocations: 135.2 kB / 0.9457 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.2497, allocations: 0.6899 MB / 0.9463 GB, free: 17.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006187/0.2559, allocations: 1.867 MB / 0.9481 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/0.2625, allocations: 1.999 MB / 0.9501 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01154/0.274, allocations: 12.4 MB / 0.9622 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02531/0.2994, allocations: 14.32 MB / 0.9762 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006223/0.3057, allocations: 2.7 MB / 0.9788 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006393/0.3121, allocations: 3.55 MB / 0.9823 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001749/0.3139, allocations: 328 kB / 0.9826 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/0.3194, allocations: 1.914 MB / 0.9845 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0044/0.3238, allocations: 2.459 MB / 0.9869 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.006183/0.33, allocations: 2.73 MB / 0.9896 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.3443, allocations: 9.974 MB / 0.9993 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.3444, allocations: 4 kB / 0.9993 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.606e-06/0.3444, allocations: 0 / 0.9993 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004645/0.3449, allocations: 4 kB / 0.9993 GB, free: 10.91 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.01298/0.3579, allocations: 4.662 MB / 1.004 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.358, allocations: 12.03 kB / 1.004 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006678/0.3646, allocations: 1.064 MB / 1.005 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007142/0.3718, allocations: 3.247 MB / 1.008 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004342/0.3723, allocations: 419.5 kB / 1.008 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/0.3741, allocations: 0.5392 MB / 1.009 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/0.3921, allocations: 9.075 MB / 1.018 GB, free: 7.449 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.3923, allocations: 31.77 kB / 1.018 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005652/0.3929, allocations: 239.9 kB / 1.018 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004089/0.3933, allocations: 346.8 kB / 1.018 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.406, allocations: 6.826 MB / 1.025 GB, free: 8 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4122/0.8182, allocations: 40.18 MB / 1.064 GB, free: 119.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004074/0.8224, allocations: 3.109 MB / 1.067 GB, free: 118.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/0.8251, allocations: 1.952 MB / 1.069 GB, free: 118.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.8252, allocations: 19.12 kB / 1.069 GB, free: 118.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.8253, allocations: 53.44 kB / 1.069 GB, free: 118.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=179): time 5.551e-06/0.8253, allocations: 1.062 kB / 1.069 GB, free: 118.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=182): time 0.02597/0.8513, allocations: 10.04 MB / 1.079 GB, free: 117 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.8514, allocations: 77.89 kB / 1.079 GB, free: 117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.8536, allocations: 1.523 MB / 1.081 GB, free: 116.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000209/0.8539, allocations: 56.3 kB / 1.081 GB, free: 116.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.855, allocations: 2.252 MB / 1.083 GB, free: 115.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005009/0.8555, allocations: 0.6284 MB / 1.084 GB, free: 115.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.8556, allocations: 45.47 kB / 1.084 GB, free: 115.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8557, allocations: 402 kB / 1.084 GB, free: 114.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.8573, allocations: 1.184 MB / 1.085 GB, free: 114.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.8589, allocations: 1.88 MB / 1.087 GB, free: 113.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/0.8621, allocations: 3.375 MB / 1.09 GB, free: 112.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.8621, allocations: 7.812 kB / 1.09 GB, free: 112.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006815/0.869, allocations: 4.579 MB / 1.095 GB, free: 110.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.869, allocations: 14.41 kB / 1.095 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.8691, allocations: 22.25 kB / 1.095 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004207/0.8733, allocations: 1.587 MB / 1.096 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.8746, allocations: 347.8 kB / 1.097 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01727/0.8918, allocations: 17.08 MB / 1.113 GB, free: 97.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.8937, allocations: 115.4 kB / 1.114 GB, free: 97.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.8939, allocations: 100.7 kB / 1.114 GB, free: 97.5 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,31.2%), (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.00288/0.8968, allocations: 1.903 MB / 1.115 GB, free: 96.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004654/0.8973, allocations: 226.1 kB / 1.116 GB, free: 96.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/0.903, allocations: 4.083 MB / 1.12 GB, free: 93.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.903, allocations: 20 kB / 1.12 GB, free: 93.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/0.903, allocations: 16 kB / 1.12 GB, free: 93.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.9031, allocations: 11.95 kB / 1.12 GB, free: 93.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.916, allocations: 9.46 MB / 1.129 GB, free: 83.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.9161, allocations: 7.984 kB / 1.129 GB, free: 83.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/0.9169, allocations: 175.7 kB / 1.129 GB, free: 83.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/0.9199, allocations: 1.353 MB / 1.13 GB, free: 82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/0.9201, allocations: 32 kB / 1.13 GB, free: 81.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/0.9357, allocations: 16 MB / 1.146 GB, free: 65.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.9358, allocations: 7.938 kB / 1.146 GB, free: 65.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005847/0.9416, allocations: 4.073 MB / 1.15 GB, free: 61.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.9428, allocations: 0.5373 MB / 1.151 GB, free: 60.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.9431, allocations: 36 kB / 1.151 GB, free: 60.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009128/0.944, allocations: 87.83 kB / 1.151 GB, free: 60.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004518/0.9445, allocations: 165.6 kB / 1.151 GB, free: 60.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.714e-05/0.9446, allocations: 44 kB / 1.151 GB, free: 60.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001104/0.9457, allocations: 1.012 MB / 1.152 GB, free: 59.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9457, allocations: 0 / 1.152 GB, free: 59.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003118/0.9488, allocations: 0.9883 MB / 1.153 GB, free: 58.38 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.0002739/0.9491, allocations: 142.4 kB / 1.153 GB, free: 58.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005895/0.955, allocations: 4.3 MB / 1.157 GB, free: 53.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.9551, allocations: 4 kB / 1.157 GB, free: 53.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003665/0.9587, allocations: 2.671 MB / 1.16 GB, free: 51.17 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/0.9631, allocations: 0.7127 MB / 1.161 GB, free: 50.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.9775, allocations: 11.79 MB / 1.172 GB, free: 38.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/0.9811, allocations: 3.666 MB / 1.176 GB, free: 34.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.9817, allocations: 123.4 kB / 1.176 GB, free: 34.78 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/0.9817, allocations: 0 / 1.176 GB, free: 34.78 MB / 0.698 GB Notification: Performance of Templates: time 0.156/1.138, allocations: 158.8 MB / 1.331 GB, free: 3.926 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)