Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001192, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.471/1.471, allocations: 223.3 MB / 239.4 MB, free: 5.543 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.001144/0.001144, allocations: 172.5 kB / 290.6 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5472/0.5472, allocations: 91.92 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 12 kB / 0.5049 GB, free: 7.207 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3827, allocations: 72.47 MB / 0.5757 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.007118/0.3899, allocations: 8.554 MB / 0.584 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.3955, allocations: 2.793 MB / 0.5867 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.3969, allocations: 16.5 kB / 0.5867 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008519/0.3977, allocations: 265.7 kB / 0.587 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.4001, allocations: 0.9027 MB / 0.5879 GB, free: 28.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.4017, allocations: 0.8055 MB / 0.5887 GB, free: 27.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00236/0.4041, allocations: 2.238 MB / 0.5909 GB, free: 26.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.4047, allocations: 431.3 kB / 0.5913 GB, free: 26.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.4058, allocations: 0.7928 MB / 0.592 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.407, allocations: 1.065 MB / 0.5931 GB, free: 25.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.4073, allocations: 94.06 kB / 0.5932 GB, free: 25.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000854/0.4081, allocations: 365.1 kB / 0.5935 GB, free: 25.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.4085, allocations: 376.2 kB / 0.5939 GB, free: 25.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007111/0.4092, allocations: 0.8828 MB / 0.5947 GB, free: 24.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.4114, allocations: 2.368 MB / 0.5971 GB, free: 23.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4114, allocations: 0 / 0.5971 GB, free: 23.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4114, allocations: 1.062 kB / 0.5971 GB, free: 23.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.325e-05/0.4115, allocations: 4 kB / 0.5971 GB, free: 23.76 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01278/0.4242, allocations: 3.474 MB / 0.6004 GB, free: 22.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.4243, allocations: 13.45 kB / 0.6005 GB, free: 22.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005378/0.4249, allocations: 169.3 kB / 0.6006 GB, free: 22.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/0.4301, allocations: 0.7693 MB / 0.6014 GB, free: 22.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/0.4326, allocations: 1.199 MB / 0.6025 GB, free: 21.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004528/0.4331, allocations: 473.4 kB / 0.603 GB, free: 20.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.4334, allocations: 121.5 kB / 0.6031 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003484/0.4369, allocations: 1.578 MB / 0.6047 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.4369, allocations: 0 / 0.6047 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.437, allocations: 40.94 kB / 0.6047 GB, free: 20.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.4371, allocations: 25.5 kB / 0.6047 GB, free: 20.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003467/0.4406, allocations: 1.483 MB / 0.6062 GB, free: 19.73 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.01045/0.451, allocations: 5.445 MB / 0.6115 GB, free: 16.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009642/0.4607, allocations: 3.554 MB / 0.615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/0.4633, allocations: 1.024 MB / 0.616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005002/0.4638, allocations: 0.7333 MB / 0.6167 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00267/0.4665, allocations: 1.185 MB / 0.6178 GB, free: 13.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.377e-06/0.4665, allocations: 0 / 0.6178 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=132): time 0.04492/0.5115, allocations: 12.08 MB / 0.6296 GB, free: 5.555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.5115, allocations: 128.1 kB / 0.6297 GB, free: 5.406 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.5138, allocations: 1.535 MB / 0.6312 GB, free: 3.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003841/0.5142, allocations: 53.7 kB / 0.6313 GB, free: 3.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/0.5146, allocations: 0.6397 MB / 0.6319 GB, free: 3.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/0.515, allocations: 489.1 kB / 0.6324 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.5152, allocations: 197.7 kB / 0.6326 GB, free: 2.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.92e-05/0.5153, allocations: 305.1 kB / 0.6329 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.5175, allocations: 1.109 MB / 0.6339 GB, free: 1.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.5198, allocations: 1.337 MB / 0.6353 GB, free: 15.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004976/0.5248, allocations: 2.364 MB / 0.6376 GB, free: 13.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.5248, allocations: 8 kB / 0.6376 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01081/0.5356, allocations: 4.23 MB / 0.6417 GB, free: 8.992 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.5357, allocations: 8 kB / 0.6417 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/0.5358, allocations: 4 kB / 0.6417 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/0.5466, allocations: 3.073 MB / 0.6447 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.5486, allocations: 351.5 kB / 0.645 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00739/0.556, allocations: 3.023 MB / 0.648 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/0.5591, allocations: 314.1 kB / 0.6483 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.5593, allocations: 67.98 kB / 0.6484 GB, free: 2.133 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.000789/0.5601, allocations: 317.5 kB / 0.6487 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.5605, allocations: 169.8 kB / 0.6488 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01882/0.5793, allocations: 5.895 MB / 0.6546 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/0.5794, allocations: 12 kB / 0.6546 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.5794, allocations: 3.938 kB / 0.6546 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.582e-05/0.5795, allocations: 11.97 kB / 0.6546 GB, free: 11.7 MB / 462.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 postOpt removeSimpleEquations (simulation): time 0.023/0.6025, allocations: 8.098 MB / 0.6625 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.6025, allocations: 0 / 0.6625 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.6037, allocations: 155.8 kB / 0.6627 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008731/0.6124, allocations: 2.517 MB / 0.6651 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003719/0.6128, allocations: 28 kB / 0.6652 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0275/0.6404, allocations: 10.32 MB / 0.6752 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6404, allocations: 3.938 kB / 0.6752 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02189/0.6623, allocations: 7.2 MB / 0.6823 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008482/0.6632, allocations: 294.5 kB / 0.6825 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004528/0.6637, allocations: 27.94 kB / 0.6826 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/0.6656, allocations: 183.8 kB / 0.6828 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000914/0.6666, allocations: 257.3 kB / 0.683 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.6667, allocations: 32 kB / 0.683 GB, free: 14.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001909/0.6686, allocations: 1.036 MB / 0.684 GB, free: 13.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6687, allocations: 0 / 0.684 GB, free: 13.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002081/0.6707, allocations: 0.562 MB / 0.6846 GB, free: 12.68 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.TransducerDelay.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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02221/0.693, allocations: 7.817 MB / 0.6922 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01063/0.7036, allocations: 3.323 MB / 0.6955 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.7037, allocations: 0.875 kB / 0.6955 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007098/0.7108, allocations: 2.209 MB / 0.6976 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.7128, allocations: 156.6 kB / 0.6978 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06565/0.7785, allocations: 26.08 MB / 0.7232 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/0.7793, allocations: 1.266 MB / 0.7245 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009154/0.7803, allocations: 162.8 kB / 0.7246 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009275/0.7812, allocations: 0.6555 MB / 0.7253 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.7812, allocations: 0 / 0.7253 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07276/0.854, allocations: 41.78 MB / 0.7661 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.8542, allocations: 215.1 kB / 0.7663 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/4.011, allocations: 64 / 0.7663 GB, free: 7.949 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)