Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",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.001019/0.001018, 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.702/1.702, 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.000999/0.000999, allocations: 81.67 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.09501/0.09501, allocations: 12.2 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3013/0.3013, allocations: 78.06 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.459e-05/1.465e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.161, allocations: 69.24 MB / 0.5819 GB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5923/0.7534, allocations: 103.6 MB / 0.683 GB, free: 5.289 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.7537, allocations: 88.52 kB / 0.6831 GB, free: 5.242 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09285/0.8466, allocations: 35.04 MB / 0.7173 GB, free: 8.371 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.121e-06/0.8466, allocations: 4 kB / 0.7173 GB, free: 8.367 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.567e-05/0.8467, allocations: 27.94 kB / 0.7173 GB, free: 8.34 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.005295/0.852, allocations: 1.956 MB / 0.7192 GB, free: 6.461 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.8521, allocations: 12.03 kB / 0.7193 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.8553, allocations: 0.574 MB / 0.7198 GB, free: 5.922 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.8572, allocations: 0.8889 MB / 0.7207 GB, free: 5.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/0.8576, allocations: 303.1 kB / 0.721 GB, free: 4.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.8577, allocations: 56 kB / 0.721 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001607/0.8593, allocations: 0.9235 MB / 0.7219 GB, free: 4.211 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.8611, allocations: 0.9711 MB / 0.7229 GB, free: 3.539 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.8611, allocations: 0 / 0.7229 GB, free: 3.539 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.745e-05/0.8612, allocations: 0 / 0.7229 GB, free: 3.539 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.8612, allocations: 24 kB / 0.7229 GB, free: 3.516 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006709/0.8679, allocations: 4.088 MB / 0.7269 GB, free: 324 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.8702, allocations: 1.516 MB / 0.7284 GB, free: 15.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008421/0.871, allocations: 0.6375 MB / 0.729 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.8712, allocations: 24.66 kB / 0.729 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.8723, allocations: 0.7453 MB / 0.7297 GB, free: 14.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 2.685e-06/0.8723, allocations: 0 / 0.7297 GB, free: 14.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.01293/0.8852, allocations: 4.358 MB / 0.734 GB, free: 10.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.8853, allocations: 120.1 kB / 0.7341 GB, free: 10.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.8864, allocations: 0.7734 MB / 0.7349 GB, free: 9.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.8866, allocations: 25.7 kB / 0.7349 GB, free: 9.648 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.887, allocations: 0.545 MB / 0.7354 GB, free: 9.344 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003653/0.8873, allocations: 367.7 kB / 0.7358 GB, free: 9.023 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.8874, allocations: 0 / 0.7358 GB, free: 9.023 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8876, allocations: 353.5 kB / 0.7361 GB, free: 8.688 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007519/0.8883, allocations: 0.495 MB / 0.7366 GB, free: 8.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008825/0.8892, allocations: 0.6185 MB / 0.7372 GB, free: 8.023 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009242/0.8901, allocations: 0.5395 MB / 0.7377 GB, free: 7.711 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.8902, allocations: 4 kB / 0.7377 GB, free: 7.707 MB / 474.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01301/0.9032, allocations: 4.406 MB / 0.742 GB, free: 3.285 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.9033, allocations: 59.41 kB / 0.7421 GB, free: 3.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.9034, allocations: 0 / 0.7421 GB, free: 3.215 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006048/0.9094, allocations: 1.807 MB / 0.7439 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.9108, allocations: 215.7 kB / 0.7441 GB, free: 1.191 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/0.9271, allocations: 7.888 MB / 0.7518 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.9292, allocations: 215 kB / 0.752 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.9294, allocations: 35.98 kB / 0.752 GB, free: 8.938 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003861/0.9298, allocations: 156.1 kB / 0.7522 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01301/0.9428, allocations: 4.36 MB / 0.7564 GB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005383/0.9433, allocations: 134.4 kB / 0.7565 GB, free: 4.258 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.9569, allocations: 4.477 MB / 0.7609 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/0.9571, allocations: 12 kB / 0.7609 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.9571, allocations: 7.891 kB / 0.7609 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.076e-05/0.9571, allocations: 7.969 kB / 0.7609 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/0.9743, allocations: 6.211 MB / 0.767 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/0.9744, allocations: 4.031 kB / 0.767 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.9754, allocations: 139.8 kB / 0.7671 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006096/0.9815, allocations: 1.821 MB / 0.7689 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002882/0.9818, allocations: 11.98 kB / 0.7689 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.9979, allocations: 8.413 MB / 0.7771 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.998, allocations: 0 / 0.7771 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/1.013, allocations: 5.351 MB / 0.7824 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008143/1.014, allocations: 223.2 kB / 0.7826 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/1.015, allocations: 8 kB / 0.7826 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.016, allocations: 167.8 kB / 0.7828 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008162/1.017, allocations: 228.9 kB / 0.783 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.017, allocations: 31.98 kB / 0.783 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009506/1.018, allocations: 0.5948 MB / 0.7836 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 0 / 0.7836 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001737/1.02, allocations: 431.4 kB / 0.784 GB, free: 7.684 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * 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: 0 * Non-linear torn systems: 2 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01535/1.035, allocations: 6.001 MB / 0.7899 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005844/1.041, allocations: 2.244 MB / 0.792 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.041, allocations: 0 / 0.792 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00455/1.046, allocations: 1.73 MB / 0.7937 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/1.047, allocations: 88.5 kB / 0.7938 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/1.051, allocations: 2.049 MB / 0.7958 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/1.052, allocations: 1.182 MB / 0.797 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004234/1.053, allocations: 86.98 kB / 0.7971 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/1.053, allocations: 495.3 kB / 0.7975 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of SimCode: time 1.243e-06/1.053, allocations: 4 kB / 0.7975 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06668/1.12, allocations: 31.91 MB / 0.8287 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.12, allocations: 134.8 kB / 0.8288 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.178, allocations: 3.938 kB / 0.8288 GB, free: 9.566 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)