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_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_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_maint.7.0.x_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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001218/0.001218, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.701/1.701, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 251.6 MB / 0.5088 GB, free: 3.367 MB / 414.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.001347/0.001347, allocations: 67.91 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5903/0.5916, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02275/0.6144, allocations: 20.03 MB / 0.7434 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.6261, allocations: 6.496 MB / 0.7497 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.6286, allocations: 83.44 kB / 0.7498 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005326/0.634, allocations: 2.084 MB / 0.7518 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.6379, allocations: 1.12 MB / 0.7529 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.6414, allocations: 1.165 MB / 0.7541 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007702/0.6491, allocations: 6.968 MB / 0.7609 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008813/0.658, allocations: 6.156 MB / 0.7669 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.6615, allocations: 1.779 MB / 0.7686 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003395/0.6649, allocations: 2.391 MB / 0.771 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005401/0.6655, allocations: 292 kB / 0.7712 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.6677, allocations: 1.022 MB / 0.7722 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.6692, allocations: 1.54 MB / 0.7737 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002114/0.6714, allocations: 1.758 MB / 0.7754 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00634/0.6777, allocations: 6.419 MB / 0.7817 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6777, allocations: 4 kB / 0.7817 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6778, allocations: 0 / 0.7817 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000133/0.6779, allocations: 0 / 0.7817 GB, free: 1.625 MB / 0.5919 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.00796/0.6859, allocations: 3.452 MB / 0.7851 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.6859, allocations: 8.031 kB / 0.7851 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.6894, allocations: 0.6449 MB / 0.7857 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.6927, allocations: 1.928 MB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.6929, allocations: 222.3 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004428/0.6933, allocations: 296.2 kB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008062/0.7014, allocations: 4.894 MB / 0.7929 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.906e-05/0.7015, allocations: 7.938 kB / 0.7929 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002984/0.7018, allocations: 136 kB / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00042/0.7022, allocations: 225.7 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006345/0.7086, allocations: 3.75 MB / 0.7969 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02431/0.7329, allocations: 21.57 MB / 0.818 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.7347, allocations: 1.308 MB / 0.8192 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.736, allocations: 1.05 MB / 0.8203 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.281e-05/0.7361, allocations: 13 kB / 0.8203 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.7361, allocations: 43.56 kB / 0.8203 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 3.106e-06/0.7361, allocations: 0 / 0.8203 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of matching and sorting (n=138): time 0.02309/0.7592, allocations: 8.652 MB / 0.8288 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.7593, allocations: 72.7 kB / 0.8288 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.7608, allocations: 1.122 MB / 0.8299 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.7609, allocations: 49.7 kB / 0.83 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008176/0.7618, allocations: 1.304 MB / 0.8313 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/0.7622, allocations: 477.1 kB / 0.8317 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/0.7626, allocations: 295.3 kB / 0.832 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.7627, allocations: 309.1 kB / 0.8323 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.764, allocations: 0.9057 MB / 0.8332 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.7655, allocations: 1.334 MB / 0.8345 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/0.7686, allocations: 2.422 MB / 0.8368 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.7686, allocations: 4 kB / 0.8368 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006044/0.7746, allocations: 3.471 MB / 0.8402 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.7747, allocations: 15.98 kB / 0.8402 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.7747, allocations: 12.84 kB / 0.8403 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003147/0.7779, allocations: 1.181 MB / 0.8414 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009547/0.7789, allocations: 255.6 kB / 0.8417 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/0.7949, allocations: 12.72 MB / 0.8541 GB, free: 4.293 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.7964, allocations: 87.97 kB / 0.8542 GB, free: 4.207 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.7965, allocations: 67.94 kB / 0.8542 GB, free: 4.141 MB / 0.67 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.00185/0.7984, allocations: 1.118 MB / 0.8553 GB, free: 3.012 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.7987, allocations: 158.1 kB / 0.8555 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005525/0.8042, allocations: 3.177 MB / 0.8586 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.8043, allocations: 16 kB / 0.8586 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.8043, allocations: 12 kB / 0.8586 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.8043, allocations: 8.297 kB / 0.8586 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.8147, allocations: 6.241 MB / 0.8647 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.8148, allocations: 8 kB / 0.8647 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.8154, allocations: 155.8 kB / 0.8649 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/0.8183, allocations: 1.062 MB / 0.8659 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-05/0.8184, allocations: 28 kB / 0.8659 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/0.8336, allocations: 12.41 MB / 0.878 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.8337, allocations: 11.94 kB / 0.8781 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/0.839, allocations: 3.151 MB / 0.8811 GB, free: 7.918 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009225/0.84, allocations: 423.1 kB / 0.8815 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.8402, allocations: 28 kB / 0.8816 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007239/0.8409, allocations: 91.83 kB / 0.8817 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/0.8413, allocations: 120.7 kB / 0.8818 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.671e-05/0.8414, allocations: 44 kB / 0.8818 GB, free: 7.207 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001115/0.8425, allocations: 0.7632 MB / 0.8826 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8425, allocations: 0 / 0.8826 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002125/0.8447, allocations: 0.6602 MB / 0.8832 GB, free: 5.781 MB / 0.7012 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.0003684/0.845, allocations: 145.9 kB / 0.8833 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005178/0.8502, allocations: 3.123 MB / 0.8864 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8502, allocations: 0 / 0.8864 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002989/0.8532, allocations: 1.948 MB / 0.8883 GB, free: 492 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.8556, allocations: 469.9 kB / 0.8887 GB, free: 28 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.866, allocations: 6.746 MB / 0.8953 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/0.8686, allocations: 2.332 MB / 0.8976 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001278/0.8699, allocations: 358.1 kB / 0.8979 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.8702, allocations: 87.44 kB / 0.898 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of SimCode: time 9.01e-07/0.8702, allocations: 0 / 0.898 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of Templates: time 0.5016/1.372, allocations: 31.65 MB / 0.9289 GB, free: 155.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)