Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 108.1 kB / 16.36 MB, free: 5.961 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.001116/0.001116, allocations: 196.4 kB / 17.3 MB, free: 5.574 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.5496 GB, free: 17.43 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.002258/0.002258, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2549, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.4161/0.671, allocations: 13.91 MB / 0.7984 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.684, allocations: 9.481 MB / 0.8076 GB, free: 36.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.6861, allocations: 58.66 kB / 0.8077 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004757/0.6909, allocations: 1.661 MB / 0.8093 GB, free: 35.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006212/0.6971, allocations: 1.544 MB / 0.8108 GB, free: 34.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.6999, allocations: 0.7566 MB / 0.8116 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005423/0.7053, allocations: 2.523 MB / 0.814 GB, free: 33.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.708, allocations: 1.417 MB / 0.8154 GB, free: 32.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.7105, allocations: 1.05 MB / 0.8164 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.713, allocations: 1.142 MB / 0.8175 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005626/0.7135, allocations: 165.1 kB / 0.8177 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.7161, allocations: 0.7899 MB / 0.8185 GB, free: 31.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008601/0.717, allocations: 0.6159 MB / 0.8191 GB, free: 31.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.7183, allocations: 0.9419 MB / 0.82 GB, free: 30.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004559/0.7228, allocations: 2.758 MB / 0.8227 GB, free: 29.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.7228, allocations: 0 / 0.8227 GB, free: 29.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7229, allocations: 0 / 0.8227 GB, free: 29.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.461e-05/0.7229, allocations: 0 / 0.8227 GB, free: 29.57 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004812/0.7277, allocations: 2.14 MB / 0.8248 GB, free: 28.26 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.7278, allocations: 8.594 kB / 0.8248 GB, free: 28.26 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.7395, allocations: 2.082 MB / 0.8268 GB, free: 28.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.7428, allocations: 1.195 MB / 0.828 GB, free: 27.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.7428, allocations: 90.36 kB / 0.8281 GB, free: 27.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.7431, allocations: 125.3 kB / 0.8282 GB, free: 27.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005702/0.7488, allocations: 2.685 MB / 0.8308 GB, free: 26.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.7489, allocations: 8.016 kB / 0.8308 GB, free: 26.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.7491, allocations: 54.42 kB / 0.8309 GB, free: 26.22 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006296/0.7497, allocations: 179.5 kB / 0.831 GB, free: 26.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00732/0.7571, allocations: 2.797 MB / 0.8338 GB, free: 25.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.7705, allocations: 10.47 MB / 0.844 GB, free: 17.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006071/0.7766, allocations: 2.528 MB / 0.8465 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002936/0.7796, allocations: 1.285 MB / 0.8477 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-05/0.7797, allocations: 11.59 kB / 0.8477 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.7797, allocations: 44.5 kB / 0.8478 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 3.367e-06/0.7797, allocations: 0 / 0.8478 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.05478/0.8345, allocations: 13.35 MB / 0.8608 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.8346, allocations: 64.75 kB / 0.8609 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/0.8371, allocations: 1.129 MB / 0.862 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004078/0.8375, allocations: 46.95 kB / 0.862 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005865/0.8381, allocations: 0.7113 MB / 0.8627 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005697/0.8387, allocations: 458.8 kB / 0.8632 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007514/0.8394, allocations: 261.6 kB / 0.8634 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.8396, allocations: 368.8 kB / 0.8638 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005008/0.8446, allocations: 1.334 MB / 0.8651 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005021/0.8496, allocations: 1.599 MB / 0.8666 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009866/0.8595, allocations: 2.994 MB / 0.8696 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.8596, allocations: 4 kB / 0.8696 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01691/0.8765, allocations: 4.442 MB / 0.8739 GB, free: 13.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.8765, allocations: 12.72 kB / 0.8739 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.8766, allocations: 8 kB / 0.8739 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00836/0.8849, allocations: 1.437 MB / 0.8753 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.8877, allocations: 431.8 kB / 0.8757 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0276/0.9154, allocations: 26.68 MB / 0.9018 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/0.9183, allocations: 303.5 kB / 0.9021 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.9185, allocations: 59.95 kB / 0.9021 GB, free: 15.15 MB / 0.7012 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009641/0.9195, allocations: 446.5 kB / 0.9026 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.9199, allocations: 162.6 kB / 0.9027 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.9315, allocations: 4.447 MB / 0.9071 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.9315, allocations: 12.11 kB / 0.9071 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/0.9316, allocations: 20.94 kB / 0.9071 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.9316, allocations: 7.969 kB / 0.9071 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/0.948, allocations: 6.771 MB / 0.9137 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.9481, allocations: 1.312 kB / 0.9137 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/0.95, allocations: 387.6 kB / 0.9141 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/0.9549, allocations: 1.305 MB / 0.9154 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002494/0.9552, allocations: 43.97 kB / 0.9154 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02648/0.9817, allocations: 25.49 MB / 0.9403 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.9817, allocations: 5.312 kB / 0.9403 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.9929, allocations: 4.198 MB / 0.9444 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/0.9945, allocations: 462.8 kB / 0.9448 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/0.9948, allocations: 27.98 kB / 0.9449 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/0.9969, allocations: 307.5 kB / 0.9452 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000508/0.9974, allocations: 124.7 kB / 0.9453 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.9975, allocations: 51.97 kB / 0.9453 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00111/0.9986, allocations: 0.7487 MB / 0.9461 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9987, allocations: 0 / 0.9461 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002427/1.001, allocations: 0.5703 MB / 0.9466 GB, free: 15.42 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003606/1.001, allocations: 147 kB / 0.9467 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.013, allocations: 5.142 MB / 0.9518 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.013, allocations: 0 / 0.9518 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006972/1.02, allocations: 3.484 MB / 0.9552 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/1.023, allocations: 0.5481 MB / 0.9557 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008921/1.031, allocations: 3.995 MB / 0.9596 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.033, allocations: 1.473 MB / 0.961 GB, free: 276 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001697/1.034, allocations: 436.4 kB / 0.9615 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/1.035, allocations: 111.4 kB / 0.9616 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of SimCode: time 1.363e-06/1.035, allocations: 0 / 0.9616 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of Templates: time 0.06475/1.1, allocations: 38.95 MB / 0.9996 GB, free: 9.277 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)