Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 239 MB, free: 4.723 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 192.5 kB / 289.3 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5057/0.5057, allocations: 91.9 MB / 431.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 75.88 kB / 0.5015 GB, free: 7.906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3059, allocations: 71.26 MB / 0.5711 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005486/0.3114, allocations: 6.975 MB / 0.5779 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.3149, allocations: 2.069 MB / 0.5799 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008053/0.3158, allocations: 14.5 kB / 0.5799 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006758/0.3165, allocations: 186.1 kB / 0.5801 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.3183, allocations: 0.6731 MB / 0.5808 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.3196, allocations: 0.6212 MB / 0.5814 GB, free: 30.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.321, allocations: 1.636 MB / 0.583 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.3214, allocations: 346.8 kB / 0.5833 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000706/0.3221, allocations: 0.6649 MB / 0.584 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.3228, allocations: 0.8175 MB / 0.5848 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.323, allocations: 124.8 kB / 0.5849 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.3234, allocations: 257.2 kB / 0.5851 GB, free: 28.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.3237, allocations: 332.6 kB / 0.5854 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004393/0.3241, allocations: 0.6769 MB / 0.5861 GB, free: 27.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.3258, allocations: 1.679 MB / 0.5877 GB, free: 27.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.3258, allocations: 4 kB / 0.5877 GB, free: 27.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3258, allocations: 0 / 0.5877 GB, free: 27.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.529e-05/0.3259, allocations: 0 / 0.5877 GB, free: 27.14 MB / 430.1 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.009652/0.3356, allocations: 2.759 MB / 0.5904 GB, free: 25.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3356, allocations: 9.594 kB / 0.5904 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.3358, allocations: 133 kB / 0.5906 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.3409, allocations: 0.7862 MB / 0.5913 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.3425, allocations: 0.8887 MB / 0.5922 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.3427, allocations: 246.8 kB / 0.5924 GB, free: 24.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.3429, allocations: 94.36 kB / 0.5925 GB, free: 24.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.3452, allocations: 1.175 MB / 0.5937 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.3452, allocations: 3.938 kB / 0.5937 GB, free: 24.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.3453, allocations: 30.59 kB / 0.5937 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.3454, allocations: 19.69 kB / 0.5937 GB, free: 24.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.3476, allocations: 1.071 MB / 0.5948 GB, free: 23.93 MB / 430.1 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.006268/0.3538, allocations: 3.689 MB / 0.5984 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.3561, allocations: 1.548 MB / 0.5999 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.3576, allocations: 0.7807 MB / 0.6007 GB, free: 20.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.3578, allocations: 15 kB / 0.6007 GB, free: 20.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/0.3595, allocations: 0.8945 MB / 0.6015 GB, free: 20.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.396e-06/0.3596, allocations: 0 / 0.6015 GB, free: 20.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02794/0.3875, allocations: 6.964 MB / 0.6083 GB, free: 18.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3876, allocations: 119.5 kB / 0.6085 GB, free: 18.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.3893, allocations: 1.021 MB / 0.6095 GB, free: 18.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002754/0.3896, allocations: 49.64 kB / 0.6095 GB, free: 18.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.3899, allocations: 0.5039 MB / 0.61 GB, free: 17.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.3903, allocations: 369.4 kB / 0.6103 GB, free: 17.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004808/0.3908, allocations: 251.9 kB / 0.6106 GB, free: 17.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.3909, allocations: 359.6 kB / 0.6109 GB, free: 17.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.3925, allocations: 0.7586 MB / 0.6117 GB, free: 16.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.3943, allocations: 0.9153 MB / 0.6126 GB, free: 16.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02233/0.4166, allocations: 5.44 MB / 0.6179 GB, free: 14.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.4167, allocations: 1.594 kB / 0.6179 GB, free: 14.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01361/0.4303, allocations: 4.515 MB / 0.6223 GB, free: 9.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.712e-05/0.4304, allocations: 59.41 kB / 0.6223 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.4304, allocations: 7.938 kB / 0.6224 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006468/0.4369, allocations: 1.854 MB / 0.6242 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.4382, allocations: 251.6 kB / 0.6244 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/0.4595, allocations: 9.47 MB / 0.6337 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.4618, allocations: 194.8 kB / 0.6338 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/0.4621, allocations: 47.98 kB / 0.6339 GB, free: 13.71 MB / 446.1 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.000876/0.463, allocations: 297.1 kB / 0.6342 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/0.4634, allocations: 122.5 kB / 0.6343 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/0.4781, allocations: 4.2 MB / 0.6384 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.4782, allocations: 12 kB / 0.6384 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4782, allocations: 0 / 0.6384 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-05/0.4783, allocations: 11.92 kB / 0.6384 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/0.4965, allocations: 5.976 MB / 0.6442 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.4966, allocations: 3.938 kB / 0.6442 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/0.4974, allocations: 111.9 kB / 0.6444 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006696/0.5042, allocations: 1.828 MB / 0.6461 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/0.5044, allocations: 24 kB / 0.6462 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02345/0.5279, allocations: 10.31 MB / 0.6562 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.528, allocations: 3.938 kB / 0.6562 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/0.5449, allocations: 5.138 MB / 0.6613 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.5456, allocations: 219.2 kB / 0.6615 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004805/0.546, allocations: 19.94 kB / 0.6615 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/0.5477, allocations: 123.9 kB / 0.6616 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000811/0.5485, allocations: 212.7 kB / 0.6618 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/0.5487, allocations: 31.98 kB / 0.6618 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001362/0.5501, allocations: 0.6993 MB / 0.6625 GB, free: 15.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5501, allocations: 0 / 0.6625 GB, free: 15.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001933/0.552, allocations: 483.5 kB / 0.663 GB, free: 15.36 MB / 478.1 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.01678/0.5688, allocations: 5.725 MB / 0.6686 GB, free: 9.586 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008109/0.577, allocations: 2.718 MB / 0.6712 GB, free: 6.832 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.577, allocations: 0 / 0.6712 GB, free: 6.832 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005326/0.5824, allocations: 1.791 MB / 0.673 GB, free: 4.996 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.584, allocations: 116.4 kB / 0.6731 GB, free: 4.879 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04902/0.633, allocations: 17.74 MB / 0.6904 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008659/0.6339, allocations: 1.132 MB / 0.6915 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006051/0.6346, allocations: 107.9 kB / 0.6916 GB, free: 1.449 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007605/0.6353, allocations: 471.3 kB / 0.6921 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6354, allocations: 0 / 0.6921 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06571/0.7011, allocations: 35.7 MB / 0.7269 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.7013, allocations: 229.8 kB / 0.7271 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/3.628, allocations: 0 / 0.7271 GB, free: 13.24 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)