Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006693/0.006693, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.433/1.433, allocations: 222.9 MB / 239.4 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.001399, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5166/0.5166, allocations: 91.89 MB / 431.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 75.27 kB / 0.5728 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1382, allocations: 71.27 MB / 0.6424 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01913/0.1574, allocations: 21.93 MB / 0.6639 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.1698, allocations: 4.892 MB / 0.6686 GB, free: 8.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004236/0.1741, allocations: 40 kB / 0.6687 GB, free: 8.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.1774, allocations: 0.8828 MB / 0.6695 GB, free: 7.59 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008275/0.1857, allocations: 2.294 MB / 0.6718 GB, free: 5.285 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005959/0.1917, allocations: 2.067 MB / 0.6738 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008674/0.2004, allocations: 5.767 MB / 0.6794 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002959/0.2034, allocations: 1.325 MB / 0.6807 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004551/0.2079, allocations: 2.349 MB / 0.683 GB, free: 9.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004716/0.2127, allocations: 2.963 MB / 0.6859 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002008/0.2147, allocations: 448 kB / 0.6863 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.2171, allocations: 0.5897 MB / 0.6869 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.2191, allocations: 1.167 MB / 0.6881 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004916/0.2241, allocations: 2.625 MB / 0.6906 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009286/0.2334, allocations: 6.262 MB / 0.6967 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.2334, allocations: 3.984 kB / 0.6967 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2334, allocations: 0 / 0.6967 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002792/0.2337, allocations: 0 / 0.6967 GB, free: 11.62 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03361/0.2673, allocations: 9.221 MB / 0.7057 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2674, allocations: 11.97 kB / 0.7058 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02765/0.295, allocations: 4.005 MB / 0.7097 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007178/0.3023, allocations: 2.678 MB / 0.7123 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001273/0.3036, allocations: 0.9612 MB / 0.7132 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001635/0.3052, allocations: 348 kB / 0.7136 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.3201, allocations: 4.735 MB / 0.7182 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.3203, allocations: 3.938 kB / 0.7182 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.3214, allocations: 140 kB / 0.7183 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.151e-05/0.3215, allocations: 91.98 kB / 0.7184 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.3324, allocations: 4.255 MB / 0.7226 GB, free: 0.8203 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04067/0.3731, allocations: 18.26 MB / 0.7404 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.3868, allocations: 5.009 MB / 0.7453 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006509/0.3933, allocations: 2.787 MB / 0.748 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.3941, allocations: 74.92 kB / 0.7481 GB, free: 5.414 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007746/0.4018, allocations: 3.185 MB / 0.7512 GB, free: 2.188 MB / 0.545 GB Notification: Performance of pre-optimization done (n=384): time 7.074e-06/0.4019, allocations: 7.938 kB / 0.7512 GB, free: 2.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=384): time 0.5871/0.989, allocations: 67.76 MB / 0.8174 GB, free: 83.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.9891, allocations: 145.9 kB / 0.8175 GB, free: 82.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.993, allocations: 3.255 MB / 0.8207 GB, free: 80.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000864/0.9939, allocations: 91.14 kB / 0.8208 GB, free: 80.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.995, allocations: 1.972 MB / 0.8227 GB, free: 79.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/0.9964, allocations: 1.32 MB / 0.824 GB, free: 77.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/0.9977, allocations: 0.6783 MB / 0.8246 GB, free: 77.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.9977, allocations: 305.1 kB / 0.8249 GB, free: 76.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/1.003, allocations: 2.608 MB / 0.8275 GB, free: 74.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005138/1.008, allocations: 3.229 MB / 0.8306 GB, free: 70.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06514/1.073, allocations: 19 MB / 0.8492 GB, free: 51.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.195e-05/1.073, allocations: 5.25 kB / 0.8492 GB, free: 51.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05305/1.126, allocations: 17.29 MB / 0.8661 GB, free: 34.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/1.126, allocations: 64.66 kB / 0.8661 GB, free: 34.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/1.126, allocations: 16 kB / 0.8662 GB, free: 34.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.024/1.15, allocations: 7.158 MB / 0.8731 GB, free: 27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/1.154, allocations: 0.6865 MB / 0.8738 GB, free: 26.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08178/1.236, allocations: 33.31 MB / 0.9063 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006234/1.242, allocations: 0.6133 MB / 0.9069 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006915/1.243, allocations: 163.9 kB / 0.9071 GB, free: 8.062 MB / 0.5762 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002027/1.245, allocations: 0.6631 MB / 0.9077 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.246, allocations: 466.2 kB / 0.9082 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05713/1.303, allocations: 16.86 MB / 0.9247 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-05/1.303, allocations: 36 kB / 0.9247 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.728e-05/1.303, allocations: 39.88 kB / 0.9247 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.914e-05/1.303, allocations: 23.92 kB / 0.9247 GB, free: 5.895 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06509/1.368, allocations: 21.88 MB / 0.9461 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/1.368, allocations: 0 / 0.9461 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/1.371, allocations: 395.5 kB / 0.9465 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02648/1.397, allocations: 7.364 MB / 0.9537 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009571/1.398, allocations: 79.91 kB / 0.9538 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08347/1.482, allocations: 31.78 MB / 0.9848 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.482, allocations: 0 / 0.9848 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06528/1.547, allocations: 20.25 MB / 1.005 GB, free: 3.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.549, allocations: 0.5571 MB / 1.005 GB, free: 3.098 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.55, allocations: 67.94 kB / 1.005 GB, free: 3.031 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005001/1.555, allocations: 384.8 kB / 1.006 GB, free: 2.656 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00346/1.559, allocations: 0.7844 MB / 1.006 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000495/1.559, allocations: 91.98 kB / 1.006 GB, free: 1.781 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003464/1.563, allocations: 2.137 MB / 1.008 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.462e-06/1.563, allocations: 4.109 kB / 1.008 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006108/1.569, allocations: 1.802 MB / 1.01 GB, free: 13.83 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007299/1.57, allocations: 197.1 kB / 1.01 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02734/1.597, allocations: 9.197 MB / 1.019 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.597, allocations: 0 / 1.019 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.02182/1.619, allocations: 6.188 MB / 1.025 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/1.623, allocations: 389.3 kB / 1.026 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/1.639, allocations: 7.933 MB / 1.034 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/1.641, allocations: 2.455 MB / 1.036 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001779/1.643, allocations: 375.1 kB / 1.036 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008993/1.644, allocations: 247.4 kB / 1.037 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of SimCode: time 9.82e-07/1.644, allocations: 0 / 1.037 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of Templates: time 0.4188/2.063, allocations: 90.23 MB / 1.125 GB, free: 179.2 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)