Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008801/0.00088, allocations: 177.3 kB / 15.42 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.8 MB / 239 MB, free: 96 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007658/0.0007658, allocations: 96.06 kB / 289.8 MB, free: 4.551 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3299/0.3299, allocations: 78.44 MB / 418.9 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 16 kB / 498.5 MB, free: 35.37 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2817, allocations: 68.74 MB / 0.554 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.006688/0.2884, allocations: 6.959 MB / 0.5608 GB, free: 5.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.2917, allocations: 2.068 MB / 0.5628 GB, free: 4.355 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.2921, allocations: 13.09 kB / 0.5628 GB, free: 4.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.2927, allocations: 201.3 kB / 0.563 GB, free: 4.266 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.2941, allocations: 0.6714 MB / 0.5636 GB, free: 3.824 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.2953, allocations: 0.6207 MB / 0.5643 GB, free: 3.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.2966, allocations: 1.551 MB / 0.5658 GB, free: 2.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.297, allocations: 314.3 kB / 0.5661 GB, free: 2.562 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000631/0.2976, allocations: 0.5767 MB / 0.5666 GB, free: 2.301 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007585/0.2984, allocations: 0.737 MB / 0.5674 GB, free: 1.965 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.2985, allocations: 59.12 kB / 0.5674 GB, free: 1.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.299, allocations: 183 kB / 0.5676 GB, free: 1.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.2992, allocations: 260.9 kB / 0.5678 GB, free: 1.777 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000443/0.2996, allocations: 0.5962 MB / 0.5684 GB, free: 1.391 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.3012, allocations: 1.583 MB / 0.57 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3012, allocations: 0 / 0.57 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3012, allocations: 1.062 kB / 0.57 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.3012, allocations: 3.938 kB / 0.57 GB, free: 0.8008 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.007816/0.309, allocations: 2.514 MB / 0.5724 GB, free: 15.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3091, allocations: 13.06 kB / 0.5724 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002036/0.3093, allocations: 133.8 kB / 0.5726 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004933/0.3142, allocations: 0.7805 MB / 0.5733 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.3157, allocations: 0.8881 MB / 0.5742 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.3159, allocations: 253.4 kB / 0.5744 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.3161, allocations: 84.61 kB / 0.5745 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.3184, allocations: 1.175 MB / 0.5757 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3185, allocations: 1.219 kB / 0.5757 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.3186, allocations: 30.59 kB / 0.5757 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.3186, allocations: 18.88 kB / 0.5757 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.3209, allocations: 1.079 MB / 0.5768 GB, free: 13.57 MB / 394.7 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.006381/0.3273, allocations: 3.692 MB / 0.5804 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.3297, allocations: 1.55 MB / 0.5819 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.3313, allocations: 0.7835 MB / 0.5826 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.3314, allocations: 15.59 kB / 0.5827 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/0.3332, allocations: 0.8974 MB / 0.5835 GB, free: 8.621 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 2.946e-06/0.3332, allocations: 0 / 0.5835 GB, free: 8.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=102): time 0.02497/0.3582, allocations: 6.963 MB / 0.5903 GB, free: 5.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.3583, allocations: 115 kB / 0.5904 GB, free: 4.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.36, allocations: 1.027 MB / 0.5914 GB, free: 4.391 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.3603, allocations: 50.62 kB / 0.5915 GB, free: 4.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.3607, allocations: 0.5004 MB / 0.592 GB, free: 3.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.3611, allocations: 377 kB / 0.5923 GB, free: 3.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.3613, allocations: 126.1 kB / 0.5925 GB, free: 3.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3615, allocations: 357.9 kB / 0.5928 GB, free: 3.105 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.3631, allocations: 0.7652 MB / 0.5936 GB, free: 2.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.3648, allocations: 0.9115 MB / 0.5944 GB, free: 1.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01993/0.3847, allocations: 5.416 MB / 0.5997 GB, free: 11.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.3848, allocations: 0 / 0.5997 GB, free: 11.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01354/0.3983, allocations: 4.518 MB / 0.6041 GB, free: 7.352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.851e-05/0.3984, allocations: 59.41 kB / 0.6042 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.3985, allocations: 3.938 kB / 0.6042 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006286/0.4048, allocations: 1.858 MB / 0.606 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.4061, allocations: 251.6 kB / 0.6063 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/0.4256, allocations: 8.715 MB / 0.6148 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.4276, allocations: 194.8 kB / 0.615 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.4278, allocations: 47.98 kB / 0.615 GB, free: 12.08 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 2 * 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 {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006225/0.4284, allocations: 296 kB / 0.6153 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.4286, allocations: 122.5 kB / 0.6154 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.442, allocations: 4.193 MB / 0.6195 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.4421, allocations: 12 kB / 0.6195 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4421, allocations: 4 kB / 0.6195 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.712e-05/0.4422, allocations: 3.984 kB / 0.6195 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.4576, allocations: 5.969 MB / 0.6253 GB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.4576, allocations: 0 / 0.6253 GB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.4584, allocations: 111.9 kB / 0.6254 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005841/0.4643, allocations: 1.82 MB / 0.6272 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/0.4645, allocations: 24 kB / 0.6272 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/0.4834, allocations: 9.393 MB / 0.6364 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4834, allocations: 0 / 0.6364 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/0.4978, allocations: 5.134 MB / 0.6414 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.4984, allocations: 219.3 kB / 0.6416 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.4985, allocations: 20 kB / 0.6417 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.4997, allocations: 115.9 kB / 0.6418 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006368/0.5003, allocations: 204.6 kB / 0.642 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-05/0.5004, allocations: 28.17 kB / 0.642 GB, free: 15.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000986/0.5014, allocations: 0.6993 MB / 0.6427 GB, free: 15.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5014, allocations: 3.938 kB / 0.6427 GB, free: 15.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001319/0.5028, allocations: 491.4 kB / 0.6432 GB, free: 14.71 MB / 458.7 MB 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.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01518/0.518, allocations: 5.721 MB / 0.6487 GB, free: 8.945 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00719/0.5252, allocations: 2.638 MB / 0.6513 GB, free: 6.273 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5253, allocations: 0 / 0.6513 GB, free: 6.273 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004876/0.5302, allocations: 1.754 MB / 0.653 GB, free: 4.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.5315, allocations: 112.5 kB / 0.6531 GB, free: 4.375 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04079/0.5723, allocations: 17.75 MB / 0.6705 GB, free: 2.195 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.573, allocations: 1.132 MB / 0.6716 GB, free: 1.035 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004985/0.5735, allocations: 107.9 kB / 0.6717 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006166/0.5741, allocations: 467.3 kB / 0.6721 GB, free: 480 kB / 474.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5741, allocations: 0 / 0.6721 GB, free: 480 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05227/0.6264, allocations: 33.52 MB / 0.7049 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.6267, allocations: 231.1 kB / 0.7051 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/3.582, allocations: 0 / 0.7051 GB, free: 14.89 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)