Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.304/1.304, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.001696/0.001696, allocations: 181 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4921/0.4921, allocations: 79.45 MB / 420.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004067, allocations: 12 kB / 0.489 GB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1656, allocations: 69.52 MB / 0.5569 GB, free: 52 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.2935/0.4592, allocations: 19.41 MB / 0.5758 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.4748, allocations: 5.185 MB / 0.5809 GB, free: 25.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006696/0.4815, allocations: 51.75 kB / 0.5809 GB, free: 25.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0041/0.4856, allocations: 0.6131 MB / 0.5815 GB, free: 25.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.497, allocations: 2.001 MB / 0.5835 GB, free: 24.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006236/0.5032, allocations: 1.757 MB / 0.5852 GB, free: 23.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.5152, allocations: 3.734 MB / 0.5889 GB, free: 21.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00399/0.5193, allocations: 1.053 MB / 0.5899 GB, free: 20.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004627/0.5239, allocations: 2.015 MB / 0.5919 GB, free: 19.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004822/0.5288, allocations: 2.523 MB / 0.5943 GB, free: 18.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002248/0.531, allocations: 234.2 kB / 0.5945 GB, free: 18.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.5345, allocations: 350.2 kB / 0.5949 GB, free: 18.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002245/0.5368, allocations: 0.9022 MB / 0.5958 GB, free: 18.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003185/0.54, allocations: 0.8345 MB / 0.5966 GB, free: 17.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007577/0.5475, allocations: 4.404 MB / 0.6009 GB, free: 16.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.5476, allocations: 0 / 0.6009 GB, free: 16.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5476, allocations: 0 / 0.6009 GB, free: 16.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003678/0.548, allocations: 1.219 kB / 0.6009 GB, free: 16.16 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03318/0.5811, allocations: 8.454 MB / 0.6091 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5812, allocations: 11.59 kB / 0.6091 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02772/0.6089, allocations: 4.05 MB / 0.6131 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00948/0.6185, allocations: 2.494 MB / 0.6155 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0014/0.6199, allocations: 0.9919 MB / 0.6165 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002287/0.6222, allocations: 351.1 kB / 0.6168 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/0.6411, allocations: 4.928 MB / 0.6216 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.6413, allocations: 0 / 0.6216 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/0.6429, allocations: 141.6 kB / 0.6218 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.6431, allocations: 89.5 kB / 0.6219 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.6572, allocations: 4.479 MB / 0.6262 GB, free: 5.906 MB / 430.1 MB 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.04702/0.7042, allocations: 18.99 MB / 0.6448 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/0.7188, allocations: 5.724 MB / 0.6504 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.7199, allocations: 74.75 kB / 0.6504 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009736/0.7297, allocations: 3.401 MB / 0.6538 GB, free: 8.367 MB / 462.1 MB Notification: Performance of pre-optimization done (n=382): time 1.116e-05/0.7298, allocations: 4 kB / 0.6538 GB, free: 8.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=382): time 0.3269/1.057, allocations: 81.67 MB / 0.7335 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.057, allocations: 141.8 kB / 0.7337 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007388/1.064, allocations: 3.199 MB / 0.7368 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001776/1.066, allocations: 89.7 kB / 0.7369 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002227/1.068, allocations: 1.97 MB / 0.7388 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003146/1.071, allocations: 1.305 MB / 0.7401 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/1.073, allocations: 88 kB / 0.7401 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0004357/1.073, allocations: 463 kB / 0.7406 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007211/1.081, allocations: 2.823 MB / 0.7433 GB, free: 12.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00732/1.088, allocations: 3.435 MB / 0.7467 GB, free: 8.676 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007686/1.096, allocations: 3.092 MB / 0.7497 GB, free: 5.566 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/1.096, allocations: 8 kB / 0.7497 GB, free: 5.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.0639/1.16, allocations: 20.71 MB / 0.77 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.16, allocations: 67.36 kB / 0.77 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/1.16, allocations: 19.83 kB / 0.77 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3449/1.505, allocations: 8.615 MB / 0.7785 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/1.508, allocations: 0.6674 MB / 0.7791 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09771/1.606, allocations: 37.31 MB / 0.8155 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007303/1.613, allocations: 0.7474 MB / 0.8163 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/1.614, allocations: 150 kB / 0.8164 GB, free: 149.1 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 394 * Array equations: 0 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002162/1.617, allocations: 0.6674 MB / 0.8171 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.618, allocations: 459.5 kB / 0.8175 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05481/1.673, allocations: 20.62 MB / 0.8376 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-05/1.673, allocations: 37.31 kB / 0.8377 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.187e-05/1.673, allocations: 32 kB / 0.8377 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001327/1.673, allocations: 18.56 kB / 0.8377 GB, free: 138.9 MB / 0.5606 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.06695/1.74, allocations: 25.63 MB / 0.8628 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.903e-05/1.74, allocations: 0 / 0.8628 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.743, allocations: 391.5 kB / 0.8631 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02509/1.768, allocations: 8.703 MB / 0.8716 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001324/1.769, allocations: 71.98 kB / 0.8717 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08566/1.855, allocations: 34.52 MB / 0.9054 GB, free: 72.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.855, allocations: 0 / 0.9054 GB, free: 72.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06529/1.92, allocations: 24.23 MB / 0.9291 GB, free: 48.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.922, allocations: 0.5615 MB / 0.9296 GB, free: 47.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002437/1.925, allocations: 64 kB / 0.9297 GB, free: 47.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006362/1.931, allocations: 0.5035 MB / 0.9302 GB, free: 46.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003903/1.935, allocations: 0.7826 MB / 0.9309 GB, free: 46.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001047/1.936, allocations: 103.9 kB / 0.931 GB, free: 45.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00401/1.94, allocations: 2.078 MB / 0.9331 GB, free: 43.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.3e-07/1.94, allocations: 0 / 0.9331 GB, free: 43.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009018/1.949, allocations: 1.802 MB / 0.9348 GB, free: 42.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.4%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/1.95, allocations: 199.5 kB / 0.935 GB, free: 41.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02676/1.977, allocations: 10.25 MB / 0.945 GB, free: 31.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.977, allocations: 0 / 0.945 GB, free: 31.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02108/1.998, allocations: 7.063 MB / 0.9519 GB, free: 24.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004155/2.003, allocations: 318.1 kB / 0.9522 GB, free: 24.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/2.021, allocations: 9.611 MB / 0.9616 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002591/2.023, allocations: 2.537 MB / 0.9641 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00223/2.025, allocations: 371.1 kB / 0.9644 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/2.027, allocations: 235.4 kB / 0.9647 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/2.027, allocations: 0 / 0.9647 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.3769/2.404, allocations: 80.63 MB / 1.043 GB, free: 161.1 MB / 0.5762 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)