Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.001697/0.001697, allocations: 183.7 kB / 17.22 MB, free: 5.73 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.613/1.613, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.888/1.888, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.002407/0.002407, allocations: 72.47 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2683, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.4411/0.7094, allocations: 6.111 MB / 0.7901 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.7139, allocations: 3.232 MB / 0.7932 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/0.7146, allocations: 29 kB / 0.7932 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.7168, allocations: 0.938 MB / 0.7942 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.718, allocations: 474.5 kB / 0.7946 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.7196, allocations: 0.4937 MB / 0.7951 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.7212, allocations: 1.096 MB / 0.7962 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008903/0.7221, allocations: 0.6437 MB / 0.7968 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006012/0.7227, allocations: 437.2 kB / 0.7972 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005243/0.7232, allocations: 479.5 kB / 0.7977 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.311e-05/0.7233, allocations: 59.62 kB / 0.7977 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009087/0.7242, allocations: 486.4 kB / 0.7982 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.7245, allocations: 283.4 kB / 0.7985 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.7248, allocations: 401.2 kB / 0.7988 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.726, allocations: 1.179 MB / 0.8 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7261, allocations: 0.7969 kB / 0.8 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7261, allocations: 3.938 kB / 0.8 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.7261, allocations: 0 / 0.8 GB, free: 43.45 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00155/0.7276, allocations: 1.062 MB / 0.801 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.7277, allocations: 8.375 kB / 0.801 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.7294, allocations: 218.7 kB / 0.8012 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008281/0.7302, allocations: 0.5425 MB / 0.8018 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.7303, allocations: 51.02 kB / 0.8018 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.7304, allocations: 67.06 kB / 0.8019 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.7319, allocations: 1.032 MB / 0.8029 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.7319, allocations: 12.27 kB / 0.8029 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/0.732, allocations: 31.83 kB / 0.8029 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.7321, allocations: 65.69 kB / 0.803 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.7334, allocations: 0.6915 MB / 0.8037 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005085/0.7385, allocations: 5.736 MB / 0.8093 GB, free: 36.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000852/0.7394, allocations: 0.5985 MB / 0.8099 GB, free: 35.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007847/0.7402, allocations: 423.7 kB / 0.8103 GB, free: 35.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.7403, allocations: 4.844 kB / 0.8103 GB, free: 35.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.7403, allocations: 36.28 kB / 0.8103 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 2.074e-06/0.7403, allocations: 0 / 0.8103 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.004592/0.7449, allocations: 2.06 MB / 0.8123 GB, free: 34.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.745, allocations: 54.91 kB / 0.8124 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.7455, allocations: 464.8 kB / 0.8128 GB, free: 34.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.7456, allocations: 31.33 kB / 0.8128 GB, free: 34.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.7458, allocations: 389.6 kB / 0.8132 GB, free: 34.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.7459, allocations: 148 kB / 0.8134 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.7461, allocations: 112.9 kB / 0.8135 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7462, allocations: 374.5 kB / 0.8138 GB, free: 33.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.7466, allocations: 244.2 kB / 0.8141 GB, free: 33.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.7471, allocations: 457.4 kB / 0.8145 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008687/0.748, allocations: 0.7589 MB / 0.8152 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.748, allocations: 2.594 kB / 0.8152 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002002/0.75, allocations: 1.072 MB / 0.8163 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.75, allocations: 6.969 kB / 0.8163 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.7501, allocations: 6.812 kB / 0.8163 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.7511, allocations: 330.5 kB / 0.8166 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.7515, allocations: 95.14 kB / 0.8167 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006139/0.7576, allocations: 7.517 MB / 0.824 GB, free: 25.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.7582, allocations: 30.28 kB / 0.8241 GB, free: 25.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.7583, allocations: 25.8 kB / 0.8241 GB, free: 25.71 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003872/0.7587, allocations: 249.6 kB / 0.8243 GB, free: 25.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.7588, allocations: 63.81 kB / 0.8244 GB, free: 25.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.7605, allocations: 0.9095 MB / 0.8253 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.7605, allocations: 5.375 kB / 0.8253 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7605, allocations: 3.125 kB / 0.8253 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.7605, allocations: 4.328 kB / 0.8253 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.7633, allocations: 1.715 MB / 0.827 GB, free: 24.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.7633, allocations: 6.5 kB / 0.827 GB, free: 24.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.7635, allocations: 41.28 kB / 0.827 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009593/0.7645, allocations: 327.6 kB / 0.8273 GB, free: 24.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.7645, allocations: 12.62 kB / 0.8273 GB, free: 24.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00638/0.7709, allocations: 7.502 MB / 0.8347 GB, free: 17.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.7709, allocations: 3.469 kB / 0.8347 GB, free: 17.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.7728, allocations: 1.019 MB / 0.8357 GB, free: 17.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.7731, allocations: 174.8 kB / 0.8358 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.7732, allocations: 12.89 kB / 0.8358 GB, free: 17.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.7734, allocations: 20.97 kB / 0.8359 GB, free: 17.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.7736, allocations: 38.22 kB / 0.8359 GB, free: 17.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.7736, allocations: 14.31 kB / 0.8359 GB, free: 17.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003883/0.774, allocations: 314 kB / 0.8362 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.774, allocations: 0 / 0.8362 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009231/0.7749, allocations: 200.3 kB / 0.8364 GB, free: 16.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001404/0.7751, allocations: 111.6 kB / 0.8365 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.7769, allocations: 1.218 MB / 0.8377 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.777, allocations: 0 / 0.8377 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.7782, allocations: 0.8584 MB / 0.8385 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.7793, allocations: 198.7 kB / 0.8387 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.7817, allocations: 1.234 MB / 0.8399 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/0.7825, allocations: 0.9918 MB / 0.8409 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000373/0.7829, allocations: 99.61 kB / 0.841 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.783, allocations: 35.72 kB / 0.841 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/0.783, allocations: 4 kB / 0.841 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.02107/0.8041, allocations: 9.972 MB / 0.8508 GB, free: 11.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)