Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",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.0009377/0.0009376, allocations: 180.9 kB / 7.65 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.697/1.697, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008674/0.0008675, allocations: 83.94 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07624/0.07624, allocations: 12.19 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3178/0.3178, allocations: 78.08 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.487e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1568, allocations: 69.24 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5237/0.6806, allocations: 100.3 MB / 0.6798 GB, free: 8.227 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.6808, allocations: 82.02 kB / 0.6799 GB, free: 8.184 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08063/0.7615, allocations: 31.38 MB / 0.7105 GB, free: 14.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.7615, allocations: 0 / 0.7105 GB, free: 14.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.593e-05/0.7616, allocations: 24 kB / 0.7106 GB, free: 14.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004289/0.7659, allocations: 1.759 MB / 0.7123 GB, free: 12.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.766, allocations: 8.031 kB / 0.7123 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/0.7693, allocations: 0.5696 MB / 0.7128 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.7706, allocations: 0.7984 MB / 0.7136 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.7709, allocations: 236.6 kB / 0.7138 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.771, allocations: 51.97 kB / 0.7139 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001391/0.7724, allocations: 0.8119 MB / 0.7147 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.7739, allocations: 0.847 MB / 0.7155 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.7739, allocations: 3.984 kB / 0.7155 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.608e-05/0.774, allocations: 4 kB / 0.7155 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.774, allocations: 20 kB / 0.7155 GB, free: 9.984 MB / 458.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.006624/0.7807, allocations: 3.756 MB / 0.7192 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007291/0.788, allocations: 2.644 MB / 0.7218 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008396/0.7888, allocations: 0.5354 MB / 0.7223 GB, free: 4.309 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.789, allocations: 22.58 kB / 0.7223 GB, free: 4.289 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.7901, allocations: 0.662 MB / 0.723 GB, free: 3.836 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 2.915e-06/0.7901, allocations: 0 / 0.723 GB, free: 3.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.01223/0.8023, allocations: 3.969 MB / 0.7269 GB, free: 396 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.8024, allocations: 119 kB / 0.727 GB, free: 256 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.8038, allocations: 0.8489 MB / 0.7278 GB, free: 15.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.804, allocations: 25.7 kB / 0.7278 GB, free: 15.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.8044, allocations: 0.5335 MB / 0.7283 GB, free: 15.31 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.8048, allocations: 342.9 kB / 0.7287 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.8048, allocations: 0 / 0.7287 GB, free: 15.01 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.805, allocations: 342.9 kB / 0.729 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007333/0.8057, allocations: 453.5 kB / 0.7294 GB, free: 14.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/0.8065, allocations: 0.5768 MB / 0.73 GB, free: 14.06 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007551/0.8072, allocations: 0.5036 MB / 0.7305 GB, free: 13.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8072, allocations: 0 / 0.7305 GB, free: 13.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01196/0.8192, allocations: 4.058 MB / 0.7344 GB, free: 10.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.8193, allocations: 67.34 kB / 0.7345 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.8193, allocations: 7.984 kB / 0.7345 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005769/0.8251, allocations: 1.593 MB / 0.7361 GB, free: 8.762 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.8262, allocations: 179.7 kB / 0.7362 GB, free: 8.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/0.8409, allocations: 7.881 MB / 0.7439 GB, free: 1.012 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.8427, allocations: 187.1 kB / 0.7441 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/0.8428, allocations: 39.98 kB / 0.7442 GB, free: 0.7891 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-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 (99): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.8432, allocations: 165.7 kB / 0.7443 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01166/0.8548, allocations: 3.961 MB / 0.7482 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.8553, allocations: 126.4 kB / 0.7483 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.867, allocations: 4.087 MB / 0.7523 GB, free: 8.398 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.8671, allocations: 15.98 kB / 0.7523 GB, free: 8.383 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.8671, allocations: 4 kB / 0.7523 GB, free: 8.379 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/0.8671, allocations: 3.984 kB / 0.7523 GB, free: 8.375 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.01381/0.881, allocations: 5.581 MB / 0.7578 GB, free: 2.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.881, allocations: 0 / 0.7578 GB, free: 2.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/0.8818, allocations: 107.8 kB / 0.7579 GB, free: 2.598 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00462/0.8864, allocations: 1.489 MB / 0.7593 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.8866, allocations: 11.98 kB / 0.7593 GB, free: 1.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/0.9002, allocations: 7.527 MB / 0.7667 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.9002, allocations: 0 / 0.7667 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/0.9131, allocations: 4.851 MB / 0.7714 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/0.9137, allocations: 235.2 kB / 0.7716 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.9139, allocations: 4 kB / 0.7717 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.9151, allocations: 135.9 kB / 0.7718 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005365/0.9156, allocations: 200.9 kB / 0.772 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/0.9157, allocations: 27.98 kB / 0.772 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008385/0.9166, allocations: 0.6575 MB / 0.7726 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9166, allocations: 0 / 0.7726 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001268/0.9178, allocations: 403.5 kB / 0.773 GB, free: 2.758 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0127/0.9306, allocations: 5.502 MB / 0.7784 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004949/0.9355, allocations: 2.171 MB / 0.7805 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9356, allocations: 0 / 0.7805 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003776/0.9393, allocations: 1.573 MB / 0.7821 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008619/0.9402, allocations: 87.91 kB / 0.7821 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.9444, allocations: 2.052 MB / 0.7841 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.9451, allocations: 1.163 MB / 0.7853 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004597/0.9456, allocations: 94.75 kB / 0.7854 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006185/0.9462, allocations: 491.3 kB / 0.7858 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/0.9463, allocations: 3.938 kB / 0.7858 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05269/0.999, allocations: 29.74 MB / 0.8149 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.9992, allocations: 150.2 kB / 0.815 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.835, allocations: 4.031 kB / 0.815 GB, free: 7.516 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)