Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009939/0.0009935, allocations: 86 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07821/0.07821, allocations: 12.2 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.302/0.302, allocations: 78.06 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.605e-05, allocations: 0 / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1518, allocations: 69.24 MB / 0.5819 GB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6059/0.7578, allocations: 112.8 MB / 0.692 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.7582, allocations: 86.58 kB / 0.6921 GB, free: 12.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1259/0.8842, allocations: 43.25 MB / 0.7343 GB, free: 8.793 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.8842, allocations: 0 / 0.7343 GB, free: 8.793 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001181/0.8844, allocations: 31.94 kB / 0.7343 GB, free: 8.762 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.007281/0.8916, allocations: 2.123 MB / 0.7364 GB, free: 6.742 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.8917, allocations: 8.031 kB / 0.7364 GB, free: 6.734 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.8957, allocations: 0.5664 MB / 0.737 GB, free: 6.211 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.8985, allocations: 1.006 MB / 0.7379 GB, free: 5.398 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005717/0.8991, allocations: 425.8 kB / 0.7384 GB, free: 4.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.8994, allocations: 71.64 kB / 0.7384 GB, free: 4.844 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002243/0.9016, allocations: 1.079 MB / 0.7395 GB, free: 4.191 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.9041, allocations: 1.117 MB / 0.7406 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.9041, allocations: 0 / 0.7406 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.9043, allocations: 0 / 0.7406 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.9043, allocations: 27.95 kB / 0.7406 GB, free: 3.367 MB / 474.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.01166/0.916, allocations: 5.024 MB / 0.7455 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008157/0.9242, allocations: 3.129 MB / 0.7486 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.9259, allocations: 0.7056 MB / 0.7492 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007473/0.9266, allocations: 0.7297 MB / 0.75 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/0.9284, allocations: 0.8616 MB / 0.7508 GB, free: 10.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=131): time 3.447e-06/0.9284, allocations: 0 / 0.7508 GB, free: 10.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=131): time 0.01734/0.9457, allocations: 5.044 MB / 0.7557 GB, free: 5.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.9459, allocations: 116.1 kB / 0.7558 GB, free: 4.883 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.9483, allocations: 1.073 MB / 0.7569 GB, free: 3.805 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005229/0.9489, allocations: 29.7 kB / 0.7569 GB, free: 3.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006574/0.9495, allocations: 0.6514 MB / 0.7575 GB, free: 3.109 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007591/0.9503, allocations: 457.2 kB / 0.758 GB, free: 2.656 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.595e-05/0.9504, allocations: 0 / 0.758 GB, free: 2.656 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.9506, allocations: 369.8 kB / 0.7583 GB, free: 2.289 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.9518, allocations: 0.582 MB / 0.7589 GB, free: 1.707 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.953, allocations: 0.7577 MB / 0.7596 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.9544, allocations: 0.67 MB / 0.7603 GB, free: 236 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.9545, allocations: 8 kB / 0.7603 GB, free: 228 kB / 490.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004617/0.9591, allocations: 2.044 MB / 0.7623 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.9592, allocations: 12.06 kB / 0.7623 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/0.9592, allocations: 4 kB / 0.7623 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008512/0.9677, allocations: 2.285 MB / 0.7645 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.9691, allocations: 211.7 kB / 0.7648 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00549/0.9746, allocations: 2.424 MB / 0.7671 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.9772, allocations: 222.7 kB / 0.7673 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.9774, allocations: 51.98 kB / 0.7674 GB, free: 8.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003625/0.9778, allocations: 120.7 kB / 0.7675 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0166/0.9944, allocations: 5.044 MB / 0.7724 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/0.9954, allocations: 158 kB / 0.7726 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/1.012, allocations: 5.158 MB / 0.7776 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/1.012, allocations: 16 kB / 0.7776 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.012, allocations: 3.938 kB / 0.7776 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.54e-05/1.012, allocations: 7.969 kB / 0.7776 GB, free: 14.38 MB / 0.5105 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.02052/1.033, allocations: 7.102 MB / 0.7846 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.033, allocations: 0 / 0.7846 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/1.034, allocations: 147.8 kB / 0.7847 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007009/1.041, allocations: 2.038 MB / 0.7867 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004171/1.041, allocations: 11.98 kB / 0.7867 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/1.062, allocations: 9.207 MB / 0.7957 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.062, allocations: 0 / 0.7957 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/1.08, allocations: 6.086 MB / 0.8016 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.081, allocations: 278.6 kB / 0.8019 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007134/1.082, allocations: 7.938 kB / 0.8019 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/1.084, allocations: 151.9 kB / 0.8021 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/1.085, allocations: 265.2 kB / 0.8023 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.085, allocations: 39.98 kB / 0.8024 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001512/1.087, allocations: 0.8106 MB / 0.8031 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.087, allocations: 0 / 0.8031 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002112/1.089, allocations: 487.4 kB / 0.8036 GB, free: 3.324 MB / 0.5261 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,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * 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 3,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.019/1.108, allocations: 6.855 MB / 0.8103 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007816/1.116, allocations: 2.323 MB / 0.8126 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.116, allocations: 0 / 0.8126 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006351/1.122, allocations: 1.965 MB / 0.8145 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/1.124, allocations: 109.2 kB / 0.8146 GB, free: 8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008228/1.132, allocations: 2.712 MB / 0.8172 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.133, allocations: 1.282 MB / 0.8185 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000881/1.134, allocations: 124.7 kB / 0.8186 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.135, allocations: 0.6242 MB / 0.8192 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of SimCode: time 1.633e-06/1.135, allocations: 0 / 0.8192 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4134/1.549, allocations: 36.46 MB / 0.8548 GB, free: 170.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.549, allocations: 120.3 kB / 0.8549 GB, free: 170.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.765/5.314, allocations: 0 / 0.8549 GB, free: 170.2 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)