Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.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.Tests.Controls.PSSE.ES.ESAC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A",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.001049/0.00105, allocations: 174.8 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.157/1.157, 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.0008406/0.0008406, allocations: 81.06 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4397/0.4397, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.306e-05, allocations: 0 / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3113, allocations: 69.51 MB / 0.5492 GB, free: 19.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.449, allocations: 117.5 MB / 0.6639 GB, free: 14.13 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.4493, allocations: 91.89 kB / 0.664 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3912/0.8406, allocations: 47.21 MB / 0.7101 GB, free: 100.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.8406, allocations: 4 kB / 0.7101 GB, free: 100.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001021/0.8408, allocations: 32 kB / 0.7101 GB, free: 100.5 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.005176/0.8459, allocations: 2.355 MB / 0.7124 GB, free: 98.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.846, allocations: 15.97 kB / 0.7125 GB, free: 98.05 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002783/0.8463, allocations: 197.8 kB / 0.7126 GB, free: 97.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004209/0.8505, allocations: 0.7194 MB / 0.7133 GB, free: 97.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.8527, allocations: 1.192 MB / 0.7145 GB, free: 95.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005259/0.8532, allocations: 0.5702 MB / 0.7151 GB, free: 95.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.8535, allocations: 135.9 kB / 0.7152 GB, free: 95.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.8557, allocations: 1.502 MB / 0.7167 GB, free: 93.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.8557, allocations: 0 / 0.7167 GB, free: 93.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.8559, allocations: 52 kB / 0.7167 GB, free: 93.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.8559, allocations: 28 kB / 0.7167 GB, free: 93.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.858, allocations: 1.365 MB / 0.7181 GB, free: 92.13 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.008912/0.8669, allocations: 5.958 MB / 0.7239 GB, free: 86.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007415/0.8743, allocations: 3.522 MB / 0.7273 GB, free: 82.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.8755, allocations: 0.9126 MB / 0.7282 GB, free: 81.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004724/0.8759, allocations: 0.7352 MB / 0.7289 GB, free: 80.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001432/0.8774, allocations: 1.028 MB / 0.7299 GB, free: 79.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=156): time 3.196e-06/0.8774, allocations: 4 kB / 0.7299 GB, free: 79.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=156): time 0.01499/0.8924, allocations: 5.618 MB / 0.7354 GB, free: 73.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.8925, allocations: 171.5 kB / 0.7356 GB, free: 73.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.8945, allocations: 1.376 MB / 0.7369 GB, free: 72.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002644/0.8948, allocations: 57.7 kB / 0.737 GB, free: 72.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.8952, allocations: 0.731 MB / 0.7377 GB, free: 71.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004871/0.8957, allocations: 0.5383 MB / 0.7382 GB, free: 70.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.8958, allocations: 36 kB / 0.7383 GB, free: 70.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.8959, allocations: 361.9 kB / 0.7386 GB, free: 70.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.8971, allocations: 0.7109 MB / 0.7393 GB, free: 69.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.8982, allocations: 0.9033 MB / 0.7402 GB, free: 68.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.8994, allocations: 0.8119 MB / 0.741 GB, free: 68.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8994, allocations: 0 / 0.741 GB, free: 68.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003923/0.9033, allocations: 2.703 MB / 0.7436 GB, free: 65.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.9036, allocations: 1.4 MB / 0.745 GB, free: 63.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.9036, allocations: 4 kB / 0.745 GB, free: 63.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008594/0.9122, allocations: 3.291 MB / 0.7482 GB, free: 60.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.9129, allocations: 179.7 kB / 0.7484 GB, free: 60.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005286/0.9182, allocations: 3.285 MB / 0.7516 GB, free: 57.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.9204, allocations: 298.5 kB / 0.7519 GB, free: 56.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.9205, allocations: 59.98 kB / 0.7519 GB, free: 56.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.9206, allocations: 8 kB / 0.7519 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003695/0.9243, allocations: 2.583 MB / 0.7545 GB, free: 54.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.9243, allocations: 0 / 0.7545 GB, free: 54.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008535/0.9328, allocations: 3.295 MB / 0.7577 GB, free: 50.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/0.9336, allocations: 171.7 kB / 0.7578 GB, free: 50.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/0.9386, allocations: 3.207 MB / 0.761 GB, free: 47.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.9406, allocations: 298.5 kB / 0.7613 GB, free: 47.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.9408, allocations: 59.92 kB / 0.7613 GB, free: 47.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * 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 {35 69} Notification: Performance of prepare postOptimizeDAE: time 0.0003506/0.9411, allocations: 219.4 kB / 0.7615 GB, free: 46.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.9414, allocations: 193.7 kB / 0.7617 GB, free: 46.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/0.9557, allocations: 5.794 MB / 0.7674 GB, free: 40.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.9558, allocations: 16 kB / 0.7674 GB, free: 40.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.9558, allocations: 0 / 0.7674 GB, free: 40.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/0.9559, allocations: 7.969 kB / 0.7674 GB, free: 40.76 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.01798/0.9738, allocations: 8.425 MB / 0.7756 GB, free: 32.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.9739, allocations: 0 / 0.7756 GB, free: 32.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009492/0.9749, allocations: 139.8 kB / 0.7758 GB, free: 32.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006726/0.9816, allocations: 2.406 MB / 0.7781 GB, free: 29.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/0.9819, allocations: 32 kB / 0.7781 GB, free: 29.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01622/0.9981, allocations: 8.974 MB / 0.7869 GB, free: 20.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.9981, allocations: 7.969 kB / 0.7869 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/1.015, allocations: 7.081 MB / 0.7938 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/1.015, allocations: 322.2 kB / 0.7941 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/1.016, allocations: 39.98 kB / 0.7942 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.017, allocations: 211.8 kB / 0.7944 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007953/1.018, allocations: 289.2 kB / 0.7946 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.018, allocations: 43.98 kB / 0.7947 GB, free: 12.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001229/1.02, allocations: 1.054 MB / 0.7957 GB, free: 11.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.02, allocations: 4 kB / 0.7957 GB, free: 11.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00175/1.021, allocations: 0.9087 MB / 0.7966 GB, free: 10.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSAC2A.imLeadLag.TF.x_scaled[1],eSAC2A.imSimpleLag.state,eSAC2A.simpleLagLim.state,eSAC2A.derivative.x,eSAC2A.rotatingExciterWithDemagnetization.sISO.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 5 (eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 2 {1 23,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01672/1.038, allocations: 7.935 MB / 0.8044 GB, free: 2.488 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01313/1.051, allocations: 5.044 MB / 0.8093 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.051, allocations: 0 / 0.8093 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00588/1.057, allocations: 2.204 MB / 0.8114 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.058, allocations: 158.8 kB / 0.8116 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/1.064, allocations: 3.248 MB / 0.8148 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009067/1.065, allocations: 1.39 MB / 0.8161 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001065/1.066, allocations: 259.7 kB / 0.8164 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007772/1.067, allocations: 0.6906 MB / 0.817 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/1.067, allocations: 0 / 0.817 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08453/1.152, allocations: 57.29 MB / 0.873 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.152, allocations: 168 kB / 0.8731 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.685/4.837, allocations: 0 / 0.8731 GB, free: 12.08 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe 2>&1)