Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.604/1.604, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009291/0.0009292, allocations: 182.8 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008548/0.000855, allocations: 94.91 kB / 0.7808 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003968, allocations: 11.94 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.6689, allocations: 120.3 MB / 1.026 GB, free: 55.97 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.8724, allocations: 162.3 MB / 1.185 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.8727, allocations: 87.95 kB / 1.185 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04272/0.9155, allocations: 17.9 MB / 1.202 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.27e-06/0.9155, allocations: 0 / 1.202 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.706e-05/0.9156, allocations: 7.938 kB / 1.202 GB, free: 13.64 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000995/0.9166, allocations: 0.5395 MB / 1.203 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.9166, allocations: 12.03 kB / 1.203 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/0.9175, allocations: 92.55 kB / 1.203 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.9179, allocations: 263.4 kB / 1.203 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.9179, allocations: 12.75 kB / 1.203 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.918, allocations: 20.36 kB / 1.203 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.9187, allocations: 375 kB / 1.204 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.9187, allocations: 4.125 kB / 1.204 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.9188, allocations: 15.92 kB / 1.204 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.9188, allocations: 21.44 kB / 1.204 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006276/0.9195, allocations: 336.6 kB / 1.204 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.9214, allocations: 1.725 MB / 1.206 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.9221, allocations: 339.6 kB / 1.206 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.9224, allocations: 153.6 kB / 1.206 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.9226, allocations: 93.09 kB / 1.206 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.9227, allocations: 34.56 kB / 1.206 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.304e-06/0.9227, allocations: 0 / 1.206 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.001391/0.9241, allocations: 0.6084 MB / 1.207 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.9241, allocations: 81.11 kB / 1.207 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.9243, allocations: 204.4 kB / 1.207 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.9244, allocations: 37.7 kB / 1.207 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.9245, allocations: 164.8 kB / 1.207 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.9246, allocations: 66.95 kB / 1.207 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.9246, allocations: 4 kB / 1.207 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9247, allocations: 330.8 kB / 1.208 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.925, allocations: 131.9 kB / 1.208 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.9253, allocations: 222.1 kB / 1.208 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.9259, allocations: 379.6 kB / 1.208 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9259, allocations: 0 / 1.208 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007884/0.9267, allocations: 437.7 kB / 1.209 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.9268, allocations: 169.5 kB / 1.209 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9268, allocations: 7.062 kB / 1.209 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.9271, allocations: 44.77 kB / 1.209 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.9274, allocations: 71.88 kB / 1.209 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.9288, allocations: 1.495 MB / 1.211 GB, free: 4.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.9291, allocations: 39.88 kB / 1.211 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.9291, allocations: 8 kB / 1.211 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/0.9291, allocations: 4 kB / 1.211 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007017/0.9298, allocations: 369.8 kB / 1.211 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9299, allocations: 4 kB / 1.211 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.93, allocations: 52.69 kB / 1.211 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.9303, allocations: 67.89 kB / 1.211 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.9316, allocations: 1.48 MB / 1.213 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.9319, allocations: 31.89 kB / 1.213 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.9319, allocations: 16 kB / 1.213 GB, free: 2.41 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.9322, allocations: 229 kB / 1.213 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.9322, allocations: 23.72 kB / 1.213 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007125/0.933, allocations: 368.2 kB / 1.213 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.933, allocations: 4 kB / 1.213 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.933, allocations: 0 / 1.213 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.933, allocations: 4 kB / 1.213 GB, free: 1.785 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.9346, allocations: 0.9754 MB / 1.214 GB, free: 0.7305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.9346, allocations: 4 kB / 1.214 GB, free: 0.7266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.9348, allocations: 47.95 kB / 1.214 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.935, allocations: 36.83 kB / 1.214 GB, free: 0.6406 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.935, allocations: 8 kB / 1.214 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.9361, allocations: 1.409 MB / 1.216 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9361, allocations: 3.938 kB / 1.216 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007102/0.9368, allocations: 0.549 MB / 1.216 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.937, allocations: 120.8 kB / 1.216 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.937, allocations: 15.88 kB / 1.216 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.9373, allocations: 23.97 kB / 1.216 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.9374, allocations: 28.91 kB / 1.216 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.9374, allocations: 4 kB / 1.216 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001593/0.9376, allocations: 151.7 kB / 1.216 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9376, allocations: 0.75 kB / 1.216 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006769/0.9383, allocations: 124 kB / 1.217 GB, free: 14.02 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002138/0.9385, allocations: 119.1 kB / 1.217 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.9398, allocations: 0.7415 MB / 1.217 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9398, allocations: 0 / 1.217 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003981/0.9402, allocations: 275.1 kB / 1.218 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.9407, allocations: 43.53 kB / 1.218 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.9419, allocations: 0.6671 MB / 1.218 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.9423, allocations: 0.7678 MB / 1.219 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.9425, allocations: 94 kB / 1.219 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.9426, allocations: 23.42 kB / 1.219 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of SimCode: time 2.91e-07/0.9427, allocations: 0.6562 kB / 1.219 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of Templates: time 0.006341/0.949, allocations: 3.002 MB / 1.222 GB, free: 8.27 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)