Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009452/0.0009452, allocations: 186.7 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 0.5785 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008496/0.0008497, allocations: 96.73 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 12.84 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.4193, allocations: 152.6 MB / 1.05 GB, free: 7.281 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.4196, allocations: 83.95 kB / 1.05 GB, free: 7.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4945/0.9141, allocations: 16.35 MB / 1.066 GB, free: 151.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9142, allocations: 0.9375 kB / 1.066 GB, free: 151.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.588e-05/0.9142, allocations: 4.516 kB / 1.066 GB, free: 151.3 MB / 0.698 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.001058/0.9153, allocations: 0.5367 MB / 1.067 GB, free: 150.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.9153, allocations: 9.25 kB / 1.067 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/0.9162, allocations: 98.19 kB / 1.067 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.9166, allocations: 258.9 kB / 1.067 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.9167, allocations: 17.41 kB / 1.067 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.9167, allocations: 16.42 kB / 1.067 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.9175, allocations: 378.6 kB / 1.068 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.9176, allocations: 4.125 kB / 1.068 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.9176, allocations: 12.34 kB / 1.068 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/0.9177, allocations: 28.22 kB / 1.068 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007439/0.9184, allocations: 334 kB / 1.068 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.9202, allocations: 1.724 MB / 1.07 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.921, allocations: 347.6 kB / 1.07 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.9213, allocations: 155.6 kB / 1.07 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.9214, allocations: 86.39 kB / 1.07 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.9215, allocations: 36.41 kB / 1.07 GB, free: 149 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.9215, allocations: 0 / 1.07 GB, free: 149 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.001477/0.923, allocations: 0.6049 MB / 1.071 GB, free: 148.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.923, allocations: 79.39 kB / 1.071 GB, free: 148.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.9232, allocations: 213.9 kB / 1.071 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.9233, allocations: 30.77 kB / 1.071 GB, free: 148.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.9234, allocations: 160.3 kB / 1.071 GB, free: 148.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.9234, allocations: 80.25 kB / 1.071 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.9235, allocations: 9.125 kB / 1.071 GB, free: 148.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.9235, allocations: 328.7 kB / 1.072 GB, free: 148 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.9238, allocations: 130.2 kB / 1.072 GB, free: 148 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.9241, allocations: 222.1 kB / 1.072 GB, free: 147.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.9247, allocations: 377.9 kB / 1.072 GB, free: 147.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9247, allocations: 0.9062 kB / 1.072 GB, free: 147.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008512/0.9256, allocations: 436.1 kB / 1.073 GB, free: 147.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.439e-05/0.9257, allocations: 166.3 kB / 1.073 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.9257, allocations: 2.594 kB / 1.073 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.926, allocations: 42.02 kB / 1.073 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.9263, allocations: 81.42 kB / 1.073 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.9275, allocations: 1.493 MB / 1.074 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.9278, allocations: 34.48 kB / 1.075 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.9278, allocations: 17.56 kB / 1.075 GB, free: 146.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.9278, allocations: 4 kB / 1.075 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007389/0.9286, allocations: 362.6 kB / 1.075 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9286, allocations: 2.75 kB / 1.075 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.9287, allocations: 44.36 kB / 1.075 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.929, allocations: 72.91 kB / 1.075 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009756/0.93, allocations: 1.475 MB / 1.076 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.9302, allocations: 37.02 kB / 1.076 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.9302, allocations: 13.34 kB / 1.076 GB, free: 144.9 MB / 0.698 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.0002317/0.9305, allocations: 233.7 kB / 1.077 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.9306, allocations: 17.69 kB / 1.077 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/0.9312, allocations: 370.8 kB / 1.077 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.9312, allocations: 2.906 kB / 1.077 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9313, allocations: 5.406 kB / 1.077 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.9313, allocations: 4.578 kB / 1.077 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.9327, allocations: 0.9667 MB / 1.078 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.9327, allocations: 2.219 kB / 1.078 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.9329, allocations: 52.61 kB / 1.078 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.9331, allocations: 43.86 kB / 1.078 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.9331, allocations: 6.938 kB / 1.078 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008257/0.9339, allocations: 1.412 MB / 1.08 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.934, allocations: 2.219 kB / 1.08 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/0.9346, allocations: 0.5483 MB / 1.08 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.9348, allocations: 128.8 kB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.9348, allocations: 9.812 kB / 1.08 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.935, allocations: 24.14 kB / 1.08 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.9351, allocations: 24.52 kB / 1.08 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.9351, allocations: 10.72 kB / 1.08 GB, free: 142.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001289/0.9353, allocations: 156.6 kB / 1.08 GB, free: 142.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9353, allocations: 0 / 1.08 GB, free: 142.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006344/0.9359, allocations: 114.8 kB / 1.081 GB, free: 142.4 MB / 0.698 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.0001723/0.9361, allocations: 119.6 kB / 1.081 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.9373, allocations: 0.7477 MB / 1.081 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9374, allocations: 0 / 1.081 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.9377, allocations: 287.8 kB / 1.082 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.9382, allocations: 35.64 kB / 1.082 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.9392, allocations: 0.6588 MB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.9394, allocations: 0.7729 MB / 1.083 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000267/0.9397, allocations: 90.25 kB / 1.083 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.9398, allocations: 23.81 kB / 1.083 GB, free: 140.8 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/0.9398, allocations: 0 / 1.083 GB, free: 140.8 MB / 0.698 GB Notification: Performance of Templates: time 0.006876/0.9467, allocations: 3.005 MB / 1.086 GB, free: 140.5 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)