Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 173.9 kB / 12.73 MB, free: 2.586 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.362/1.362, 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.0008735/0.0008734, allocations: 81.89 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.434/0.434, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.113e-05, allocations: 4 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3143, allocations: 69.34 MB / 0.5481 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.4295, allocations: 98.83 MB / 0.6446 GB, free: 1.715 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.4297, allocations: 75.95 kB / 0.6447 GB, free: 1.641 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3778/0.8075, allocations: 36.44 MB / 0.6803 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8075, allocations: 0 / 0.6803 GB, free: 106.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.211e-05/0.8076, allocations: 30.86 kB / 0.6803 GB, free: 106.2 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004684/0.8123, allocations: 1.701 MB / 0.6819 GB, free: 105.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.8124, allocations: 13.16 kB / 0.682 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002093/0.8126, allocations: 132.4 kB / 0.6821 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003706/0.8163, allocations: 0.563 MB / 0.6826 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.8182, allocations: 0.7805 MB / 0.6834 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/0.8185, allocations: 267 kB / 0.6836 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.8188, allocations: 80.97 kB / 0.6837 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.8207, allocations: 0.9327 MB / 0.6846 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.8207, allocations: 0 / 0.6846 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.713e-05/0.8208, allocations: 35.17 kB / 0.6847 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.8208, allocations: 21.12 kB / 0.6847 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.8224, allocations: 0.8369 MB / 0.6855 GB, free: 104.7 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.00659/0.829, allocations: 3.798 MB / 0.6892 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006674/0.8357, allocations: 2.659 MB / 0.6918 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006877/0.8364, allocations: 0.546 MB / 0.6923 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.8365, allocations: 15.03 kB / 0.6924 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008994/0.8374, allocations: 0.6758 MB / 0.693 GB, free: 103 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.315e-06/0.8374, allocations: 0 / 0.693 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01145/0.8489, allocations: 4.014 MB / 0.6969 GB, free: 102.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.849, allocations: 118.8 kB / 0.6971 GB, free: 102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.8501, allocations: 0.8796 MB / 0.6979 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.8503, allocations: 45.64 kB / 0.698 GB, free: 101.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.8505, allocations: 0.509 MB / 0.6985 GB, free: 101.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.8508, allocations: 337.2 kB / 0.6988 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.8509, allocations: 23.94 kB / 0.6988 GB, free: 100.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.8509, allocations: 348.8 kB / 0.6991 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.8517, allocations: 458.7 kB / 0.6996 GB, free: 100.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.8524, allocations: 0.5799 MB / 0.7001 GB, free: 100 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.8532, allocations: 0.5571 MB / 0.7007 GB, free: 99.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8532, allocations: 0 / 0.7007 GB, free: 99.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01148/0.8647, allocations: 4.099 MB / 0.7047 GB, free: 98.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.8647, allocations: 58.47 kB / 0.7047 GB, free: 98.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.8648, allocations: 3.219 kB / 0.7047 GB, free: 98.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005088/0.8699, allocations: 1.527 MB / 0.7062 GB, free: 98.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.8708, allocations: 186.9 kB / 0.7064 GB, free: 98.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/0.8829, allocations: 6.742 MB / 0.713 GB, free: 92.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.8846, allocations: 206.4 kB / 0.7132 GB, free: 92.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.8848, allocations: 38.09 kB / 0.7132 GB, free: 92.02 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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: 13 * 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 (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002626/0.885, allocations: 207.8 kB / 0.7134 GB, free: 91.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.8852, allocations: 126.4 kB / 0.7135 GB, free: 91.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.8963, allocations: 4.146 MB / 0.7176 GB, free: 88.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.8964, allocations: 12 kB / 0.7176 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.8964, allocations: 4 kB / 0.7176 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.8964, allocations: 11.19 kB / 0.7176 GB, free: 88.44 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 postOpt removeSimpleEquations (simulation): time 0.01263/0.9091, allocations: 5.69 MB / 0.7232 GB, free: 83.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.9091, allocations: 0 / 0.7232 GB, free: 83.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.9097, allocations: 107.9 kB / 0.7233 GB, free: 83.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004362/0.9141, allocations: 1.481 MB / 0.7247 GB, free: 82.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.9143, allocations: 24 kB / 0.7247 GB, free: 82.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/0.9263, allocations: 7.707 MB / 0.7323 GB, free: 74.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9264, allocations: 3.953 kB / 0.7323 GB, free: 74.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/0.9386, allocations: 4.876 MB / 0.737 GB, free: 69.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/0.9391, allocations: 231.2 kB / 0.7373 GB, free: 69.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.9393, allocations: 16 kB / 0.7373 GB, free: 69.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.9405, allocations: 147.9 kB / 0.7374 GB, free: 68.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/0.941, allocations: 200.7 kB / 0.7376 GB, free: 68.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/0.9411, allocations: 27.98 kB / 0.7376 GB, free: 68.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007852/0.9419, allocations: 0.6778 MB / 0.7383 GB, free: 68.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9419, allocations: 0 / 0.7383 GB, free: 68.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001202/0.9431, allocations: 439.5 kB / 0.7387 GB, free: 67.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,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 (64): * Single equations (assignments): 61 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01219/0.9553, allocations: 5.552 MB / 0.7441 GB, free: 62.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004875/0.9602, allocations: 2.071 MB / 0.7462 GB, free: 59.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.9602, allocations: 7.938 kB / 0.7462 GB, free: 59.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003611/0.9638, allocations: 1.577 MB / 0.7477 GB, free: 58.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/0.9648, allocations: 112.5 kB / 0.7478 GB, free: 58.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.9684, allocations: 1.927 MB / 0.7497 GB, free: 56.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.9688, allocations: 1.147 MB / 0.7508 GB, free: 55.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003763/0.9692, allocations: 102.4 kB / 0.7509 GB, free: 54.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.9697, allocations: 463.3 kB / 0.7514 GB, free: 54.54 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.9697, allocations: 4.375 kB / 0.7514 GB, free: 54.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/1.012, allocations: 30.84 MB / 0.7815 GB, free: 24.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/1.012, allocations: 209.5 kB / 0.7817 GB, free: 24.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/3.855, allocations: 0 / 0.7817 GB, free: 24.07 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)