Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.2076/0.2076, allocations: 12.59 MB / 28.23 MB, free: 0.75 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 115.4 kB / 31.84 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.18/3.18, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002885/0.002885, allocations: 180.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.8825/0.8825, allocations: 78.51 MB / 419.3 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004752/0.004752, allocations: 134.9 kB / 0.5554 GB, free: 28.68 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2543, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.0204/0.2748, allocations: 8.868 MB / 0.6306 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.2857, allocations: 2.833 MB / 0.6333 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.2886, allocations: 16 kB / 0.6334 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.2905, allocations: 341 kB / 0.6337 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006869/0.2974, allocations: 1.227 MB / 0.6349 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004732/0.3022, allocations: 0.8694 MB / 0.6357 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007094/0.3093, allocations: 2.588 MB / 0.6383 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.3111, allocations: 0.4943 MB / 0.6387 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.3141, allocations: 0.9884 MB / 0.6397 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/0.3175, allocations: 1.221 MB / 0.6409 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.3186, allocations: 204 kB / 0.6411 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.3209, allocations: 475.7 kB / 0.6416 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.322, allocations: 0.4981 MB / 0.642 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002411/0.3245, allocations: 1.002 MB / 0.643 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006415/0.3309, allocations: 2.609 MB / 0.6456 GB, free: 7.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.331, allocations: 0 / 0.6456 GB, free: 7.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.331, allocations: 0 / 0.6456 GB, free: 7.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.3311, allocations: 4 kB / 0.6456 GB, free: 7.609 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.03133/0.3624, allocations: 4.046 MB / 0.6495 GB, free: 3.504 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.554e-05/0.3625, allocations: 11.98 kB / 0.6495 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007826/0.3633, allocations: 180.7 kB / 0.6497 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.3741, allocations: 0.7625 MB / 0.6504 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005557/0.3797, allocations: 1.231 MB / 0.6517 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001071/0.3808, allocations: 462.5 kB / 0.6521 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007897/0.3816, allocations: 120 kB / 0.6522 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007525/0.3892, allocations: 1.547 MB / 0.6537 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-05/0.3893, allocations: 0 / 0.6537 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003783/0.3897, allocations: 52 kB / 0.6538 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/0.3898, allocations: 24 kB / 0.6538 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006868/0.3967, allocations: 1.437 MB / 0.6552 GB, free: 13.5 MB / 478.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.02451/0.4213, allocations: 5.438 MB / 0.6605 GB, free: 7.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/0.4377, allocations: 3.062 MB / 0.6635 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004858/0.4426, allocations: 0.9751 MB / 0.6644 GB, free: 3.633 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/0.4446, allocations: 0.7336 MB / 0.6652 GB, free: 2.734 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005509/0.4501, allocations: 1.129 MB / 0.6663 GB, free: 1.582 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 1.485e-05/0.4502, allocations: 4 kB / 0.6663 GB, free: 1.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=134): time 0.0774/0.5276, allocations: 10.04 MB / 0.6761 GB, free: 7.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.5278, allocations: 116.1 kB / 0.6762 GB, free: 7.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005674/0.5335, allocations: 1.532 MB / 0.6777 GB, free: 5.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007299/0.5343, allocations: 57.77 kB / 0.6777 GB, free: 5.762 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.5356, allocations: 0.6592 MB / 0.6784 GB, free: 5.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001501/0.5371, allocations: 493 kB / 0.6788 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00235/0.5395, allocations: 375.5 kB / 0.6792 GB, free: 4.234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.5397, allocations: 309.1 kB / 0.6795 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004078/0.5438, allocations: 1.054 MB / 0.6805 GB, free: 2.871 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004396/0.5483, allocations: 1.27 MB / 0.6818 GB, free: 1.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009028/0.5573, allocations: 2.232 MB / 0.6839 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-05/0.5574, allocations: 4 kB / 0.684 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.02139/0.5788, allocations: 3.999 MB / 0.6879 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.5789, allocations: 10.97 kB / 0.6879 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.802e-05/0.579, allocations: 8.062 kB / 0.6879 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01738/0.5964, allocations: 2.679 MB / 0.6905 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/0.5998, allocations: 359.5 kB / 0.6908 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.6115, allocations: 2.699 MB / 0.6935 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/0.6166, allocations: 266.2 kB / 0.6937 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006807/0.6173, allocations: 71.98 kB / 0.6938 GB, free: 5.117 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * 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.001507/0.6188, allocations: 321.5 kB / 0.6941 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009279/0.6198, allocations: 173.8 kB / 0.6943 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03432/0.6541, allocations: 4.915 MB / 0.6991 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.074e-05/0.6543, allocations: 15.94 kB / 0.6991 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.606e-05/0.6543, allocations: 4 kB / 0.6991 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.729e-05/0.6544, allocations: 7.969 kB / 0.6991 GB, free: 15.66 MB / 0.5137 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.04451/0.699, allocations: 7.151 MB / 0.7061 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-05/0.6991, allocations: 0 / 0.7061 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/0.7011, allocations: 167.8 kB / 0.7062 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0122/0.7133, allocations: 2.142 MB / 0.7083 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006272/0.714, allocations: 35.98 kB / 0.7084 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5535/1.268, allocations: 10.04 MB / 0.7182 GB, free: 82.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.268, allocations: 0.8125 kB / 0.7182 GB, free: 82.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04052/1.308, allocations: 6.166 MB / 0.7242 GB, free: 81.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/1.31, allocations: 291.7 kB / 0.7245 GB, free: 81.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/1.311, allocations: 27.58 kB / 0.7245 GB, free: 81.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004194/1.315, allocations: 141.2 kB / 0.7246 GB, free: 81.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002029/1.317, allocations: 273 kB / 0.7249 GB, free: 81.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004571/1.318, allocations: 40.28 kB / 0.7249 GB, free: 81.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004747/1.322, allocations: 1.03 MB / 0.7259 GB, free: 80.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.132e-06/1.323, allocations: 1.5 kB / 0.7259 GB, free: 80.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00515/1.328, allocations: 0.5672 MB / 0.7265 GB, free: 80.66 MB / 0.5137 GB 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.04256/1.37, allocations: 6.794 MB / 0.7331 GB, free: 78.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01697/1.387, allocations: 3.048 MB / 0.7361 GB, free: 77.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/1.387, allocations: 3.938 kB / 0.7361 GB, free: 77.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01138/1.399, allocations: 1.995 MB / 0.7381 GB, free: 76.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/1.403, allocations: 153.7 kB / 0.7382 GB, free: 76.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0903/1.493, allocations: 20.23 MB / 0.758 GB, free: 60.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009762/1.494, allocations: 1.282 MB / 0.7592 GB, free: 58.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001283/1.495, allocations: 162.8 kB / 0.7594 GB, free: 58.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.497, allocations: 0.6711 MB / 0.76 GB, free: 58.15 MB / 0.5137 GB Notification: Performance of SimCode: time 1.793e-06/1.497, allocations: 0 / 0.76 GB, free: 58.15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2128/1.71, allocations: 48.67 MB / 0.8075 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.83/32.54, allocations: 11.45 kB / 0.8076 GB, free: 9.559 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)