Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 106.4 kB / 17.03 MB, free: 5.656 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.00112/0.001121, allocations: 190.9 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7109/0.7109, allocations: 115.1 MB / 406.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 63.89 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.386, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004407/0.3905, allocations: 2.861 MB / 0.5604 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3928, allocations: 1.653 MB / 0.562 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.393, allocations: 4.688 kB / 0.562 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.3938, allocations: 228.4 kB / 0.5622 GB, free: 33.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.3942, allocations: 193.8 kB / 0.5624 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.3947, allocations: 226.6 kB / 0.5626 GB, free: 33.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.3951, allocations: 316.2 kB / 0.5629 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.3954, allocations: 184.2 kB / 0.5631 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3956, allocations: 126.4 kB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.3959, allocations: 145.9 kB / 0.5633 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.3959, allocations: 20.47 kB / 0.5633 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.3963, allocations: 259.3 kB / 0.5636 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.3964, allocations: 84.33 kB / 0.5637 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3966, allocations: 115.5 kB / 0.5638 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.3971, allocations: 412.8 kB / 0.5642 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3971, allocations: 0.9688 kB / 0.5642 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3971, allocations: 3.938 kB / 0.5642 GB, free: 32.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3972, allocations: 0 / 0.5642 GB, free: 32.54 MB / 446.1 MB 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.0008012/0.398, allocations: 0.535 MB / 0.5647 GB, free: 32.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.398, allocations: 9.969 kB / 0.5647 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000713/0.3987, allocations: 95.39 kB / 0.5648 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.3991, allocations: 269.5 kB / 0.5651 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.3991, allocations: 11.66 kB / 0.5651 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.3991, allocations: 26.33 kB / 0.5651 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.3997, allocations: 376.3 kB / 0.5655 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3998, allocations: 1.875 kB / 0.5655 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.3998, allocations: 15.23 kB / 0.5655 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.3999, allocations: 22.17 kB / 0.5655 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.4005, allocations: 324.7 kB / 0.5658 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.4021, allocations: 1.726 MB / 0.5675 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006872/0.4028, allocations: 328.8 kB / 0.5678 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.4031, allocations: 151.8 kB / 0.568 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.4033, allocations: 87.61 kB / 0.568 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.4033, allocations: 43.05 kB / 0.5681 GB, free: 29.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.4033, allocations: 0 / 0.5681 GB, free: 29.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.00132/0.4046, allocations: 0.5893 MB / 0.5687 GB, free: 29.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.4047, allocations: 80.27 kB / 0.5687 GB, free: 29.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.4049, allocations: 203.9 kB / 0.5689 GB, free: 29.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.4049, allocations: 31.64 kB / 0.569 GB, free: 29.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.405, allocations: 166.2 kB / 0.5691 GB, free: 28.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.405, allocations: 67.25 kB / 0.5692 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.4051, allocations: 62.72 kB / 0.5692 GB, free: 28.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.4052, allocations: 330.8 kB / 0.5695 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.4054, allocations: 138.6 kB / 0.5697 GB, free: 28.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.4057, allocations: 219.2 kB / 0.5699 GB, free: 28.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.4062, allocations: 373.7 kB / 0.5702 GB, free: 28.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4062, allocations: 0.5 kB / 0.5702 GB, free: 28.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007237/0.407, allocations: 420.5 kB / 0.5706 GB, free: 27.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.407, allocations: 6.875 kB / 0.5707 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.407, allocations: 2.25 kB / 0.5707 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.4072, allocations: 46.02 kB / 0.5707 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.4075, allocations: 69.31 kB / 0.5708 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.4087, allocations: 1.617 MB / 0.5723 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.4089, allocations: 31.95 kB / 0.5724 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.4089, allocations: 15.09 kB / 0.5724 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002998/0.4092, allocations: 234.9 kB / 0.5726 GB, free: 26.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002643/0.4095, allocations: 209.3 kB / 0.5728 GB, free: 26.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004712/0.41, allocations: 352.9 kB / 0.5732 GB, free: 25.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.265e-06/0.41, allocations: 1.125 kB / 0.5732 GB, free: 25.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006931/0.4107, allocations: 412.5 kB / 0.5735 GB, free: 25.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.4107, allocations: 10.31 kB / 0.5736 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4107, allocations: 3.688 kB / 0.5736 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.4109, allocations: 44 kB / 0.5736 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.4111, allocations: 71.25 kB / 0.5737 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000974/0.4121, allocations: 1.603 MB / 0.5752 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.4123, allocations: 29 kB / 0.5753 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.4124, allocations: 14.72 kB / 0.5753 GB, free: 24.21 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.861e-05/0.4124, allocations: 193.7 kB / 0.5755 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.4125, allocations: 21.66 kB / 0.5755 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006397/0.4132, allocations: 359.1 kB / 0.5758 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4132, allocations: 9.891 kB / 0.5758 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4132, allocations: 1.375 kB / 0.5758 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4132, allocations: 0.75 kB / 0.5758 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.4145, allocations: 0.9553 MB / 0.5768 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4145, allocations: 6.75 kB / 0.5768 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.4147, allocations: 56.27 kB / 0.5768 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.4148, allocations: 36.09 kB / 0.5769 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.4149, allocations: 6.75 kB / 0.5769 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007911/0.4157, allocations: 1.507 MB / 0.5783 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4157, allocations: 5.781 kB / 0.5783 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.4163, allocations: 0.5305 MB / 0.5789 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.4164, allocations: 130.7 kB / 0.579 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.4164, allocations: 7.016 kB / 0.579 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.4167, allocations: 25.36 kB / 0.579 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.4167, allocations: 24.97 kB / 0.579 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.4168, allocations: 6.75 kB / 0.5791 GB, free: 21.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.4169, allocations: 156.9 kB / 0.5792 GB, free: 21.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4169, allocations: 3.938 kB / 0.5792 GB, free: 21.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005965/0.4175, allocations: 105.4 kB / 0.5793 GB, free: 21.14 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000125/0.4176, allocations: 112.7 kB / 0.5794 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.4188, allocations: 0.7373 MB / 0.5801 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4188, allocations: 5.719 kB / 0.5801 GB, free: 20.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.4192, allocations: 268.4 kB / 0.5804 GB, free: 20.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.4197, allocations: 37.2 kB / 0.5804 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/0.4205, allocations: 0.5635 MB / 0.581 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.4207, allocations: 0.7707 MB / 0.5817 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002252/0.421, allocations: 90.22 kB / 0.5818 GB, free: 19.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.421, allocations: 21.34 kB / 0.5818 GB, free: 19.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4211, allocations: 0 / 0.5818 GB, free: 19.39 MB / 446.1 MB Notification: Performance of Templates: time 0.007037/0.4281, allocations: 3.27 MB / 0.585 GB, free: 19.11 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)