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.001386/0.001386, allocations: 103.7 kB / 15.98 MB, free: 6.344 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.001296/0.001296, allocations: 198.3 kB / 16.91 MB, free: 6.188 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7643/0.7643, allocations: 122.9 MB / 413.6 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.4906 GB, free: 7.848 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3648, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004318/0.3691, allocations: 2.934 MB / 0.5696 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002965/0.3721, allocations: 1.78 MB / 0.5713 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.3723, allocations: 7.438 kB / 0.5713 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000827/0.3731, allocations: 216.9 kB / 0.5715 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.3736, allocations: 188.1 kB / 0.5717 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.3741, allocations: 204.5 kB / 0.5719 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.3745, allocations: 316.3 kB / 0.5722 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.3749, allocations: 205.9 kB / 0.5724 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.3751, allocations: 127.2 kB / 0.5725 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.3754, allocations: 153.7 kB / 0.5726 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.3754, allocations: 20.75 kB / 0.5727 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.3759, allocations: 283.8 kB / 0.5729 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3761, allocations: 84.95 kB / 0.573 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.3762, allocations: 115.9 kB / 0.5731 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006505/0.3769, allocations: 457.1 kB / 0.5736 GB, free: 28.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3769, allocations: 0 / 0.5736 GB, free: 28.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3769, allocations: 0 / 0.5736 GB, free: 28.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3769, allocations: 0 / 0.5736 GB, free: 28.47 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.0009663/0.3779, allocations: 0.5435 MB / 0.5741 GB, free: 28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3779, allocations: 11.08 kB / 0.5741 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009487/0.3789, allocations: 110.3 kB / 0.5742 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3792, allocations: 264.1 kB / 0.5745 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3792, allocations: 22.25 kB / 0.5745 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.3793, allocations: 20.97 kB / 0.5745 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000694/0.38, allocations: 390.2 kB / 0.5749 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.38, allocations: 1.375 kB / 0.5749 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.3801, allocations: 11.44 kB / 0.5749 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/0.3801, allocations: 21.72 kB / 0.5749 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007336/0.3809, allocations: 342.7 kB / 0.5752 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.3829, allocations: 1.737 MB / 0.5769 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.3836, allocations: 338.6 kB / 0.5773 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.3839, allocations: 146.3 kB / 0.5774 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.3841, allocations: 88.2 kB / 0.5775 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.3841, allocations: 41.23 kB / 0.5775 GB, free: 25.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.3841, allocations: 0 / 0.5775 GB, free: 25.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001391/0.3855, allocations: 0.5927 MB / 0.5781 GB, free: 25.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.3856, allocations: 84.23 kB / 0.5782 GB, free: 25.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.3858, allocations: 214.2 kB / 0.5784 GB, free: 25.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3858, allocations: 27.08 kB / 0.5784 GB, free: 25.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.3859, allocations: 161.3 kB / 0.5786 GB, free: 24.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.386, allocations: 75.34 kB / 0.5786 GB, free: 24.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3861, allocations: 68.95 kB / 0.5787 GB, free: 24.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.3861, allocations: 326.9 kB / 0.579 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.3864, allocations: 142.7 kB / 0.5791 GB, free: 24.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.3868, allocations: 222.2 kB / 0.5794 GB, free: 24.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.3873, allocations: 371.4 kB / 0.5797 GB, free: 24.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3874, allocations: 0.9375 kB / 0.5797 GB, free: 24.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008614/0.3882, allocations: 438.4 kB / 0.5801 GB, free: 23.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3883, allocations: 6.156 kB / 0.5801 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3883, allocations: 2.688 kB / 0.5801 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.3885, allocations: 40.84 kB / 0.5802 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.3889, allocations: 75.88 kB / 0.5802 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.39, allocations: 1.613 MB / 0.5818 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.3904, allocations: 39.59 kB / 0.5819 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.3904, allocations: 12.39 kB / 0.5819 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003505/0.3908, allocations: 242.7 kB / 0.5821 GB, free: 22.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003074/0.3911, allocations: 213.4 kB / 0.5823 GB, free: 22.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005429/0.3917, allocations: 360.8 kB / 0.5827 GB, free: 21.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.3917, allocations: 1.75 kB / 0.5827 GB, free: 21.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008217/0.3925, allocations: 427.6 kB / 0.5831 GB, free: 21.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3925, allocations: 6.812 kB / 0.5831 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3925, allocations: 2.938 kB / 0.5831 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.3927, allocations: 45.81 kB / 0.5831 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.393, allocations: 69.61 kB / 0.5832 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.3941, allocations: 1.61 MB / 0.5848 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.3944, allocations: 34.66 kB / 0.5848 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.3945, allocations: 17.8 kB / 0.5848 GB, free: 19.98 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 0.0001237/0.3946, allocations: 189.9 kB / 0.585 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.3947, allocations: 31.22 kB / 0.585 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006577/0.3954, allocations: 358.9 kB / 0.5854 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3954, allocations: 2.562 kB / 0.5854 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3954, allocations: 1.094 kB / 0.5854 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3954, allocations: 1.062 kB / 0.5854 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.3967, allocations: 0.9699 MB / 0.5863 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3967, allocations: 5.344 kB / 0.5863 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.397, allocations: 55.72 kB / 0.5864 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.3971, allocations: 43.72 kB / 0.5864 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.3971, allocations: 2.531 kB / 0.5864 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008573/0.398, allocations: 1.509 MB / 0.5879 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.398, allocations: 2.875 kB / 0.5879 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.3986, allocations: 0.5334 MB / 0.5884 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.3987, allocations: 121.1 kB / 0.5885 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.3988, allocations: 11.34 kB / 0.5885 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.3991, allocations: 24.25 kB / 0.5886 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.3992, allocations: 24.78 kB / 0.5886 GB, free: 16.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3992, allocations: 7.094 kB / 0.5886 GB, free: 16.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.3994, allocations: 170.7 kB / 0.5888 GB, free: 16.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3994, allocations: 0 / 0.5888 GB, free: 16.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006865/0.4001, allocations: 107.9 kB / 0.5889 GB, free: 16.51 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.0001376/0.4002, allocations: 109.8 kB / 0.589 GB, free: 16.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.4017, allocations: 0.7639 MB / 0.5897 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4017, allocations: 0 / 0.5897 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.4021, allocations: 276.6 kB / 0.59 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.4026, allocations: 32.42 kB / 0.59 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.4035, allocations: 0.6476 MB / 0.5906 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.4038, allocations: 0.7707 MB / 0.5914 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003087/0.4041, allocations: 94.55 kB / 0.5915 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.4042, allocations: 28.97 kB / 0.5915 GB, free: 14.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4042, allocations: 0 / 0.5915 GB, free: 14.43 MB / 446.1 MB Notification: Performance of Templates: time 0.006885/0.4111, allocations: 3.359 MB / 0.5948 GB, free: 12.79 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)