Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008779/0.0008778, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009145/0.0009145, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.735/1.735, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.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.834/1.834, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000851/0.000851, allocations: 20.19 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3114, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006929/0.3184, allocations: 4.706 MB / 0.7925 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005557/0.324, allocations: 3.297 MB / 0.7957 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005164/0.3246, allocations: 11.94 kB / 0.7957 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009087/0.3255, allocations: 171.1 kB / 0.7959 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.327, allocations: 346.5 kB / 0.7962 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009433/0.328, allocations: 250.5 kB / 0.7964 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.3293, allocations: 0.8569 MB / 0.7973 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.3308, allocations: 0.8332 MB / 0.7981 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.3314, allocations: 223.1 kB / 0.7983 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007757/0.3322, allocations: 275 kB / 0.7986 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.3323, allocations: 16 kB / 0.7986 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008272/0.3331, allocations: 315.5 kB / 0.7989 GB, free: 212 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.3334, allocations: 151.5 kB / 0.799 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.3339, allocations: 224.8 kB / 0.7992 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3349, allocations: 0.7904 MB / 0.8 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.335, allocations: 4 kB / 0.8 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.926e-06/0.335, allocations: 0 / 0.8 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.335, allocations: 3.938 kB / 0.8 GB, free: 15.03 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00136/0.3364, allocations: 0.7208 MB / 0.8007 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3364, allocations: 8.031 kB / 0.8007 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/0.3392, allocations: 0.6712 MB / 0.8014 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007482/0.3399, allocations: 451.8 kB / 0.8018 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.34, allocations: 29.02 kB / 0.8018 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-05/0.3401, allocations: 32.12 kB / 0.8019 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.3417, allocations: 0.8356 MB / 0.8027 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3417, allocations: 0 / 0.8027 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.3418, allocations: 12 kB / 0.8027 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/0.342, allocations: 64.52 kB / 0.8028 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.3441, allocations: 0.9312 MB / 0.8037 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00437/0.3485, allocations: 2.867 MB / 0.8065 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.3503, allocations: 0.5667 MB / 0.807 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008006/0.3512, allocations: 308.6 kB / 0.8073 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.3513, allocations: 93.09 kB / 0.8074 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.3514, allocations: 30.56 kB / 0.8074 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 5.19e-06/0.3514, allocations: 4 kB / 0.8074 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32): time 0.01299/0.3644, allocations: 3.543 MB / 0.8109 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3645, allocations: 59.41 kB / 0.811 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/0.3651, allocations: 388.5 kB / 0.8113 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/0.3651, allocations: 33.7 kB / 0.8114 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.3654, allocations: 231.9 kB / 0.8116 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.3655, allocations: 110.4 kB / 0.8117 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/0.3656, allocations: 37.7 kB / 0.8117 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3657, allocations: 350.8 kB / 0.8121 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009481/0.3667, allocations: 387.7 kB / 0.8124 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009817/0.3677, allocations: 480.1 kB / 0.8129 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.3696, allocations: 0.8405 MB / 0.8137 GB, free: 496 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3696, allocations: 0 / 0.8137 GB, free: 496 kB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005502/0.3751, allocations: 1.685 MB / 0.8154 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.3753, allocations: 155.8 kB / 0.8155 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3753, allocations: 4 kB / 0.8155 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/0.3795, allocations: 0.9231 MB / 0.8164 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.3801, allocations: 131.8 kB / 0.8165 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008498/0.3886, allocations: 6.226 MB / 0.8226 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/0.3895, allocations: 111.9 kB / 0.8227 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.3896, allocations: 15.98 kB / 0.8227 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3896, allocations: 4 kB / 0.8227 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004981/0.3946, allocations: 1.609 MB / 0.8243 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3946, allocations: 4 kB / 0.8243 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/0.3976, allocations: 0.6861 MB / 0.825 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/0.3982, allocations: 131.8 kB / 0.8251 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.4041, allocations: 5.328 MB / 0.8303 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/0.4049, allocations: 107.9 kB / 0.8304 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.405, allocations: 20.05 kB / 0.8304 GB, free: 14.43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000523/0.4055, allocations: 321.1 kB / 0.8307 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.513e-05/0.4056, allocations: 43.5 kB / 0.8308 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/0.4107, allocations: 1.583 MB / 0.8323 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.4107, allocations: 4 kB / 0.8323 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4108, allocations: 0 / 0.8323 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4108, allocations: 0 / 0.8323 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006055/0.4168, allocations: 2.26 MB / 0.8345 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4169, allocations: 0 / 0.8345 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.4173, allocations: 83.91 kB / 0.8346 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003678/0.421, allocations: 0.8724 MB / 0.8355 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.421, allocations: 7.984 kB / 0.8355 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007526/0.4286, allocations: 6.064 MB / 0.8414 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4286, allocations: 0 / 0.8414 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004864/0.4335, allocations: 1.592 MB / 0.843 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.4338, allocations: 180.6 kB / 0.8431 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/0.4339, allocations: 7.938 kB / 0.8431 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/0.4345, allocations: 91.86 kB / 0.8432 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.4347, allocations: 31.95 kB / 0.8433 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.4347, allocations: 15.98 kB / 0.8433 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003879/0.4351, allocations: 299.1 kB / 0.8436 GB, free: 432 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4351, allocations: 0 / 0.8436 GB, free: 432 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00112/0.4363, allocations: 236 kB / 0.8438 GB, free: 196 kB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002555/0.4365, allocations: 107.2 kB / 0.8439 GB, free: 76 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004749/0.4413, allocations: 2.197 MB / 0.846 GB, free: 13.78 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4413, allocations: 0 / 0.846 GB, free: 13.78 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.4429, allocations: 0.8164 MB / 0.8468 GB, free: 12.92 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.4437, allocations: 124.3 kB / 0.8469 GB, free: 12.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.4459, allocations: 1.328 MB / 0.8482 GB, free: 11.44 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.4465, allocations: 0.9219 MB / 0.8491 GB, free: 10.49 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005281/0.4471, allocations: 171.3 kB / 0.8493 GB, free: 10.32 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.4472, allocations: 35.42 kB / 0.8493 GB, free: 10.29 MB / 0.67 GB Notification: Performance of SimCode: time 1.403e-06/0.4472, allocations: 0 / 0.8493 GB, free: 10.29 MB / 0.67 GB Notification: Performance of Templates: time 0.0228/0.47, allocations: 13.6 MB / 0.8626 GB, free: 12.77 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: