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.001339/0.001339, allocations: 103.8 kB / 16.94 MB, free: 5.906 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.001415/0.001415, allocations: 191.3 kB / 17.87 MB, free: 5.184 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.389/1.389, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7315/0.7315, allocations: 122.9 MB / 414.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 67.89 kB / 0.4917 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3586, allocations: 77.92 MB / 0.5678 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004143/0.3628, allocations: 2.87 MB / 0.5706 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.3653, allocations: 1.804 MB / 0.5724 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.3654, allocations: 5.469 kB / 0.5724 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.3663, allocations: 238.2 kB / 0.5726 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.3667, allocations: 203.3 kB / 0.5728 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.3673, allocations: 235 kB / 0.5731 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.3677, allocations: 308.2 kB / 0.5733 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.368, allocations: 180.6 kB / 0.5735 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3682, allocations: 122.2 kB / 0.5736 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.3685, allocations: 150.8 kB / 0.5738 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.3686, allocations: 19.59 kB / 0.5738 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005399/0.3691, allocations: 283.3 kB / 0.5741 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3692, allocations: 85.41 kB / 0.5741 GB, free: 28.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3694, allocations: 120.4 kB / 0.5743 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006239/0.37, allocations: 431.8 kB / 0.5747 GB, free: 28.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.37, allocations: 0 / 0.5747 GB, free: 28.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.37, allocations: 0.6562 kB / 0.5747 GB, free: 28.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.37, allocations: 1.875 kB / 0.5747 GB, free: 28.46 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.0008666/0.3709, allocations: 0.5423 MB / 0.5752 GB, free: 27.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.371, allocations: 10.25 kB / 0.5752 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.3719, allocations: 115.2 kB / 0.5753 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.3722, allocations: 260.2 kB / 0.5756 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3723, allocations: 16.02 kB / 0.5756 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.3723, allocations: 16.59 kB / 0.5756 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006893/0.373, allocations: 396 kB / 0.576 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.373, allocations: 5.594 kB / 0.576 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.3731, allocations: 7.469 kB / 0.576 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/0.3731, allocations: 26 kB / 0.576 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006978/0.3738, allocations: 337.9 kB / 0.5763 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.3756, allocations: 1.74 MB / 0.578 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.3763, allocations: 331.6 kB / 0.5784 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.3766, allocations: 152.2 kB / 0.5785 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.3767, allocations: 90.92 kB / 0.5786 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.3768, allocations: 36.64 kB / 0.5786 GB, free: 25.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.963e-06/0.3768, allocations: 0 / 0.5786 GB, free: 25.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001323/0.3781, allocations: 0.5972 MB / 0.5792 GB, free: 25.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.3781, allocations: 81.7 kB / 0.5793 GB, free: 25.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.3784, allocations: 217 kB / 0.5795 GB, free: 25.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3784, allocations: 29.7 kB / 0.5795 GB, free: 25.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.3785, allocations: 157.4 kB / 0.5797 GB, free: 24.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.3786, allocations: 71.36 kB / 0.5797 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3787, allocations: 70.31 kB / 0.5798 GB, free: 24.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.3787, allocations: 329.2 kB / 0.5801 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.379, allocations: 142.9 kB / 0.5803 GB, free: 24.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.3794, allocations: 222.8 kB / 0.5805 GB, free: 24.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.38, allocations: 372.6 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.38, allocations: 0.6562 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000866/0.3808, allocations: 445.7 kB / 0.5813 GB, free: 23.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3809, allocations: 5.5 kB / 0.5813 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3809, allocations: 2.75 kB / 0.5813 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.3811, allocations: 47.84 kB / 0.5813 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.3815, allocations: 70.34 kB / 0.5814 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.3826, allocations: 1.614 MB / 0.5829 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.383, allocations: 33.44 kB / 0.583 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.383, allocations: 13.3 kB / 0.583 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003389/0.3833, allocations: 241.7 kB / 0.5832 GB, free: 22.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002783/0.3836, allocations: 213.5 kB / 0.5834 GB, free: 21.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005009/0.3841, allocations: 358.6 kB / 0.5838 GB, free: 21.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.3842, allocations: 2.812 kB / 0.5838 GB, free: 21.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008087/0.385, allocations: 424.6 kB / 0.5842 GB, free: 21.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.385, allocations: 6.312 kB / 0.5842 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.385, allocations: 2.656 kB / 0.5842 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.3851, allocations: 42.94 kB / 0.5842 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.3854, allocations: 72.27 kB / 0.5843 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.3865, allocations: 1.603 MB / 0.5859 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.3868, allocations: 35.94 kB / 0.5859 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.3868, allocations: 17.64 kB / 0.5859 GB, free: 19.86 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.0001151/0.387, allocations: 207 kB / 0.5861 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.387, allocations: 22.06 kB / 0.5861 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/0.3877, allocations: 351.5 kB / 0.5865 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3877, allocations: 2.594 kB / 0.5865 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3877, allocations: 1.625 kB / 0.5865 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3877, allocations: 7.984 kB / 0.5865 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.389, allocations: 0.9654 MB / 0.5874 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.389, allocations: 5.312 kB / 0.5874 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.3892, allocations: 59.2 kB / 0.5875 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.3893, allocations: 35.14 kB / 0.5875 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3894, allocations: 7.906 kB / 0.5875 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007832/0.3902, allocations: 1.509 MB / 0.589 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3902, allocations: 1.219 kB / 0.589 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.3908, allocations: 0.5339 MB / 0.5895 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.717e-05/0.3909, allocations: 126.1 kB / 0.5896 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.3909, allocations: 8.078 kB / 0.5896 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.3912, allocations: 24.16 kB / 0.5897 GB, free: 16.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.3913, allocations: 28.89 kB / 0.5897 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3913, allocations: 10.44 kB / 0.5897 GB, free: 16.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3915, allocations: 169.8 kB / 0.5899 GB, free: 16.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3915, allocations: 1.406 kB / 0.5899 GB, free: 16.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006321/0.3921, allocations: 107.4 kB / 0.59 GB, free: 16.38 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.0001364/0.3923, allocations: 114.2 kB / 0.5901 GB, free: 16.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.3936, allocations: 0.7673 MB / 0.5908 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3936, allocations: 5.844 kB / 0.5908 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.3939, allocations: 268.6 kB / 0.5911 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.3944, allocations: 38.22 kB / 0.5911 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008706/0.3953, allocations: 0.5901 MB / 0.5917 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.3955, allocations: 0.7697 MB / 0.5925 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.3956, allocations: 23.19 kB / 0.5925 GB, free: 14.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3956, allocations: 0 / 0.5925 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Templates: time 0.006055/0.4017, allocations: 4.297 MB / 0.5967 GB, free: 12.06 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)