Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_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.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_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.001055/0.001054, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008594/0.0008595, allocations: 95.69 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06688/0.06688, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2745/0.2745, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.452e-05, allocations: 4 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 69.25 MB / 0.5889 GB, free: 2.941 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.4999, allocations: 101.9 MB / 0.6885 GB, free: 14.35 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.5001, allocations: 86.19 kB / 0.6886 GB, free: 14.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07077/0.5709, allocations: 27.86 MB / 0.7158 GB, free: 6.695 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.571, allocations: 0 / 0.7158 GB, free: 6.695 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.205e-05/0.5711, allocations: 23.94 kB / 0.7158 GB, free: 6.672 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.004663/0.5757, allocations: 1.876 MB / 0.7176 GB, free: 4.863 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5758, allocations: 15.98 kB / 0.7176 GB, free: 4.848 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.576, allocations: 125 kB / 0.7178 GB, free: 4.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/0.579, allocations: 0.5603 MB / 0.7183 GB, free: 4.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.5807, allocations: 0.837 MB / 0.7191 GB, free: 3.535 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.5809, allocations: 231.5 kB / 0.7194 GB, free: 3.309 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.5811, allocations: 77.88 kB / 0.7194 GB, free: 3.258 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.5827, allocations: 1.011 MB / 0.7204 GB, free: 2.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.5828, allocations: 0 / 0.7204 GB, free: 2.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/0.5829, allocations: 33.5 kB / 0.7204 GB, free: 2.582 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5829, allocations: 20 kB / 0.7205 GB, free: 2.562 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.5844, allocations: 0.898 MB / 0.7213 GB, free: 2.004 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.006685/0.5911, allocations: 3.804 MB / 0.7251 GB, free: 15.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.5927, allocations: 1.323 MB / 0.7263 GB, free: 13.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008214/0.5935, allocations: 0.6287 MB / 0.727 GB, free: 13.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.5936, allocations: 24.7 kB / 0.727 GB, free: 13.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.5937, allocations: 42.91 kB / 0.727 GB, free: 13.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 3.817e-06/0.5937, allocations: 0 / 0.727 GB, free: 13.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=99): time 0.01215/0.6058, allocations: 4.192 MB / 0.7311 GB, free: 9.961 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.606, allocations: 148.8 kB / 0.7313 GB, free: 9.785 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.6073, allocations: 0.8434 MB / 0.7321 GB, free: 9.141 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.6075, allocations: 48.2 kB / 0.7321 GB, free: 9.102 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.6079, allocations: 0.515 MB / 0.7326 GB, free: 8.812 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/0.6082, allocations: 348.9 kB / 0.733 GB, free: 8.512 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.6083, allocations: 24.75 kB / 0.733 GB, free: 8.504 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6084, allocations: 339.6 kB / 0.7333 GB, free: 8.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007711/0.6092, allocations: 498.3 kB / 0.7338 GB, free: 7.914 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.61, allocations: 0.61 MB / 0.7344 GB, free: 7.508 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008605/0.6109, allocations: 0.5805 MB / 0.735 GB, free: 7.141 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6109, allocations: 4 kB / 0.735 GB, free: 7.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01231/0.6232, allocations: 4.391 MB / 0.7392 GB, free: 3.344 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003727/0.6236, allocations: 0.936 MB / 0.7402 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.6237, allocations: 4 kB / 0.7402 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005856/0.6295, allocations: 1.801 MB / 0.7419 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/0.6304, allocations: 171.3 kB / 0.7421 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/0.6455, allocations: 8.616 MB / 0.7505 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.6471, allocations: 203 kB / 0.7507 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.683e-05/0.6472, allocations: 35.98 kB / 0.7507 GB, free: 8.527 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.6472, allocations: 4 kB / 0.7507 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01213/0.6593, allocations: 4.278 MB / 0.7549 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6594, allocations: 3.938 kB / 0.7549 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005801/0.6652, allocations: 1.793 MB / 0.7567 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/0.6661, allocations: 163.7 kB / 0.7568 GB, free: 2.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/0.6814, allocations: 8.601 MB / 0.7652 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.6831, allocations: 183.2 kB / 0.7654 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.6832, allocations: 35.98 kB / 0.7654 GB, free: 9.176 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 85 * 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 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003143/0.6835, allocations: 182.5 kB / 0.7656 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.6837, allocations: 130.4 kB / 0.7657 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.6959, allocations: 4.337 MB / 0.77 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.6959, allocations: 8 kB / 0.77 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6959, allocations: 4 kB / 0.77 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/0.696, allocations: 3.984 kB / 0.77 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.7102, allocations: 6.143 MB / 0.776 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.7103, allocations: 0 / 0.776 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000795/0.7111, allocations: 127.8 kB / 0.7761 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004961/0.7161, allocations: 1.675 MB / 0.7777 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.7163, allocations: 23.98 kB / 0.7778 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/0.7283, allocations: 6.329 MB / 0.7839 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7284, allocations: 4 kB / 0.7839 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.7418, allocations: 5.129 MB / 0.7889 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005437/0.7424, allocations: 219.3 kB / 0.7892 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.7426, allocations: 20 kB / 0.7892 GB, free: 484 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.7439, allocations: 147.9 kB / 0.7893 GB, free: 336 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006059/0.7445, allocations: 196.6 kB / 0.7895 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/0.7446, allocations: 28 kB / 0.7895 GB, free: 112 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008846/0.7454, allocations: 0.6533 MB / 0.7902 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7455, allocations: 0 / 0.7902 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001926/0.7474, allocations: 0.7255 MB / 0.7909 GB, free: 14.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0137/0.7611, allocations: 5.777 MB / 0.7965 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01003/0.7712, allocations: 4.189 MB / 0.8006 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.7712, allocations: 0 / 0.8006 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004239/0.7755, allocations: 1.598 MB / 0.8022 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.7763, allocations: 104.4 kB / 0.8023 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.7803, allocations: 2.075 MB / 0.8043 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.781, allocations: 1.169 MB / 0.8054 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007393/0.7817, allocations: 189.7 kB / 0.8056 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/0.7822, allocations: 451.3 kB / 0.8061 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of SimCode: time 6.91e-07/0.7823, allocations: 0 / 0.8061 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06212/0.8444, allocations: 40.81 MB / 0.8459 GB, free: 6.203 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.8446, allocations: 190 kB / 0.8461 GB, free: 5.969 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/3.843, allocations: 0 / 0.8461 GB, free: 5.969 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)