Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001, allocations: 87.42 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4473/0.4473, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.59e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3271, allocations: 69.51 MB / 0.5491 GB, free: 19.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4505, allocations: 102.9 MB / 0.6496 GB, free: 12.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.4507, allocations: 75.95 kB / 0.6497 GB, free: 12.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5163/0.967, allocations: 102.3 MB / 0.7496 GB, free: 57.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.9671, allocations: 4 kB / 0.7496 GB, free: 57.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002541/0.9674, allocations: 91.88 kB / 0.7497 GB, free: 57.79 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01718/0.9846, allocations: 5.745 MB / 0.7553 GB, free: 51.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.9846, allocations: 11.97 kB / 0.7553 GB, free: 51.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/1.002, allocations: 2.779 MB / 0.758 GB, free: 49.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00526/1.007, allocations: 2.271 MB / 0.7602 GB, free: 46.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007859/1.008, allocations: 0.9847 MB / 0.7612 GB, free: 45.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/1.009, allocations: 347.9 kB / 0.7615 GB, free: 45.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007308/1.016, allocations: 4.076 MB / 0.7655 GB, free: 41.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.967e-05/1.016, allocations: 3.938 kB / 0.7655 GB, free: 41.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000379/1.017, allocations: 148 kB / 0.7656 GB, free: 41.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/1.017, allocations: 84 kB / 0.7657 GB, free: 41.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007019/1.024, allocations: 3.613 MB / 0.7692 GB, free: 37.4 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.03692/1.061, allocations: 18.61 MB / 0.7874 GB, free: 17.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/1.071, allocations: 4.809 MB / 0.7921 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003965/1.075, allocations: 2.219 MB / 0.7943 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007127/1.076, allocations: 66.91 kB / 0.7944 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005191/1.081, allocations: 2.604 MB / 0.7969 GB, free: 7.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=383): time 7.043e-06/1.081, allocations: 0 / 0.7969 GB, free: 7.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=383): time 0.05562/1.137, allocations: 17.58 MB / 0.8141 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.137, allocations: 149.8 kB / 0.8142 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005784/1.143, allocations: 2.645 MB / 0.8168 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001177/1.144, allocations: 85.7 kB / 0.8169 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001792/1.146, allocations: 2.002 MB / 0.8188 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002289/1.148, allocations: 1.309 MB / 0.8201 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008706/1.149, allocations: 68 kB / 0.8202 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003432/1.149, allocations: 445.8 kB / 0.8206 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004078/1.153, allocations: 1.831 MB / 0.8224 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00446/1.158, allocations: 2.414 MB / 0.8247 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/1.162, allocations: 2.087 MB / 0.8268 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/1.162, allocations: 4 kB / 0.8268 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05832/1.221, allocations: 17.75 MB / 0.8441 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.127e-05/1.221, allocations: 67.34 kB / 0.8442 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/1.221, allocations: 19.98 kB / 0.8442 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02524/1.246, allocations: 6.965 MB / 0.851 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/1.249, allocations: 0.5578 MB / 0.8515 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07071/1.32, allocations: 25.75 MB / 0.8767 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007745/1.328, allocations: 0.7152 MB / 0.8774 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.329, allocations: 132 kB / 0.8775 GB, free: 4.578 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 328 * 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.002115/1.331, allocations: 339 kB / 0.8778 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001921/1.333, allocations: 458.3 kB / 0.8783 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05618/1.389, allocations: 18.12 MB / 0.896 GB, free: 1.586 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-05/1.39, allocations: 36 kB / 0.896 GB, free: 1.551 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.685e-05/1.39, allocations: 28 kB / 0.896 GB, free: 1.523 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001147/1.39, allocations: 23.92 kB / 0.8961 GB, free: 1.5 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.3851/1.775, allocations: 23.09 MB / 0.9186 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/1.775, allocations: 3.875 kB / 0.9186 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/1.777, allocations: 388 kB / 0.919 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02225/1.8, allocations: 7.048 MB / 0.9259 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001139/1.801, allocations: 72.3 kB / 0.9259 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05399/1.855, allocations: 24.52 MB / 0.9499 GB, free: 127.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.855, allocations: 3.844 kB / 0.9499 GB, free: 127.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05727/1.912, allocations: 20.94 MB / 0.9703 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.914, allocations: 0.5677 MB / 0.9709 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001623/1.916, allocations: 63.38 kB / 0.9709 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005669/1.921, allocations: 0.5035 MB / 0.9714 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003953/1.925, allocations: 0.7821 MB / 0.9722 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00098/1.926, allocations: 95.28 kB / 0.9723 GB, free: 116.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004522/1.931, allocations: 2.005 MB / 0.9742 GB, free: 114.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.12e-07/1.931, allocations: 0 / 0.9742 GB, free: 114.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009203/1.94, allocations: 1.758 MB / 0.976 GB, free: 112.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 244 * 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.5%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/1.942, allocations: 215 kB / 0.9762 GB, free: 112.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02206/1.964, allocations: 8.23 MB / 0.9842 GB, free: 105.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.964, allocations: 0 / 0.9842 GB, free: 105.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01852/1.982, allocations: 6.148 MB / 0.9902 GB, free: 99.75 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003953/1.986, allocations: 299.5 kB / 0.9905 GB, free: 99.46 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/1.999, allocations: 5.885 MB / 0.9962 GB, free: 94.09 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/2.001, allocations: 2.535 MB / 0.9987 GB, free: 92.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002037/2.003, allocations: 293.1 kB / 0.999 GB, free: 92 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008274/2.004, allocations: 201 kB / 0.9992 GB, free: 91.82 MB / 0.573 GB Notification: Performance of SimCode: time 1.222e-06/2.004, allocations: 0 / 0.9992 GB, free: 91.82 MB / 0.573 GB Notification: Performance of Templates: time 0.1143/2.118, allocations: 78.2 MB / 1.076 GB, free: 26.99 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)