Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.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.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent",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.00162/0.00162, 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.363/1.363, allocations: 222.9 MB / 239 MB, free: 4.707 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.001306/0.001306, allocations: 196.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.5563/0.5563, allocations: 91.9 MB / 431.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 79.88 kB / 0.5015 GB, free: 7.922 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3752, allocations: 71.26 MB / 0.5711 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent): time 0.005209/0.3805, allocations: 5.569 MB / 0.5765 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.3831, allocations: 1.665 MB / 0.5782 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/0.3834, allocations: 10.31 kB / 0.5782 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.3839, allocations: 138.7 kB / 0.5783 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.3852, allocations: 0.574 MB / 0.5789 GB, free: 31.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.386, allocations: 456.9 kB / 0.5793 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008235/0.3868, allocations: 1.067 MB / 0.5803 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.3872, allocations: 270.1 kB / 0.5806 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.3876, allocations: 470 kB / 0.581 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.3882, allocations: 0.6076 MB / 0.5816 GB, free: 30.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.3883, allocations: 83.25 kB / 0.5817 GB, free: 30.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.3886, allocations: 215.3 kB / 0.5819 GB, free: 30.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.3888, allocations: 243.7 kB / 0.5822 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.3891, allocations: 0.4986 MB / 0.5826 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009245/0.3901, allocations: 1.237 MB / 0.5838 GB, free: 29.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3901, allocations: 0 / 0.5838 GB, free: 29.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3901, allocations: 0 / 0.5838 GB, free: 29.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3901, allocations: 3.938 kB / 0.5839 GB, free: 29.32 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.006168/0.3963, allocations: 2.154 MB / 0.586 GB, free: 28.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.3963, allocations: 9.531 kB / 0.586 GB, free: 28.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.3965, allocations: 104 kB / 0.5861 GB, free: 28.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003999/0.4005, allocations: 0.6496 MB / 0.5867 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/0.4013, allocations: 0.6481 MB / 0.5873 GB, free: 27.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.4015, allocations: 176.7 kB / 0.5875 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.4017, allocations: 66 kB / 0.5876 GB, free: 27.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.4037, allocations: 0.8729 MB / 0.5884 GB, free: 27.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.4037, allocations: 0 / 0.5884 GB, free: 27.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.4038, allocations: 33.16 kB / 0.5884 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.4038, allocations: 18.59 kB / 0.5885 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.4057, allocations: 0.8996 MB / 0.5893 GB, free: 26.82 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.004388/0.4101, allocations: 2.456 MB / 0.5917 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.4118, allocations: 1.078 MB / 0.5928 GB, free: 24.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.4131, allocations: 0.6506 MB / 0.5934 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.4133, allocations: 13.14 kB / 0.5934 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4133, allocations: 42.28 kB / 0.5935 GB, free: 24.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 4.098e-06/0.4133, allocations: 0 / 0.5935 GB, free: 24.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02399/0.4373, allocations: 5.677 MB / 0.599 GB, free: 23.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4374, allocations: 60.38 kB / 0.5991 GB, free: 23.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.4389, allocations: 0.7564 MB / 0.5998 GB, free: 23.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.4391, allocations: 36.73 kB / 0.5999 GB, free: 23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.4394, allocations: 395 kB / 0.6002 GB, free: 22.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.4398, allocations: 297 kB / 0.6005 GB, free: 22.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005085/0.4403, allocations: 178.8 kB / 0.6007 GB, free: 22.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.4404, allocations: 356.3 kB / 0.601 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.4418, allocations: 0.613 MB / 0.6016 GB, free: 21.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.4434, allocations: 0.7202 MB / 0.6023 GB, free: 21.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/0.4463, allocations: 1.333 MB / 0.6036 GB, free: 20.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.4463, allocations: 0 / 0.6036 GB, free: 20.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01261/0.4589, allocations: 3.595 MB / 0.6071 GB, free: 20.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.459, allocations: 6.062 kB / 0.6071 GB, free: 20.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.459, allocations: 2.25 kB / 0.6071 GB, free: 20.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005988/0.465, allocations: 1.514 MB / 0.6086 GB, free: 19.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4661, allocations: 179.2 kB / 0.6088 GB, free: 19.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/0.4855, allocations: 8.19 MB / 0.6168 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.487, allocations: 145.4 kB / 0.6169 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.4873, allocations: 34.86 kB / 0.617 GB, free: 15.2 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000673/0.488, allocations: 231.2 kB / 0.6172 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/0.4883, allocations: 99.56 kB / 0.6173 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.4986, allocations: 3.376 MB / 0.6206 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4987, allocations: 8 kB / 0.6206 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4987, allocations: 0 / 0.6206 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.4987, allocations: 7.922 kB / 0.6206 GB, free: 11.54 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 postOpt removeSimpleEquations (simulation): time 0.01251/0.5112, allocations: 4.844 MB / 0.6253 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.5113, allocations: 4 kB / 0.6253 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.5119, allocations: 95.88 kB / 0.6254 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005423/0.5173, allocations: 1.523 MB / 0.6269 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.5175, allocations: 23.92 kB / 0.6269 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/0.5335, allocations: 7.268 MB / 0.634 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5335, allocations: 0 / 0.634 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.5471, allocations: 4.208 MB / 0.6381 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.5476, allocations: 175.8 kB / 0.6383 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/0.5479, allocations: 15.98 kB / 0.6383 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.549, allocations: 87.84 kB / 0.6384 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007363/0.5498, allocations: 168.8 kB / 0.6386 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.5499, allocations: 23.92 kB / 0.6386 GB, free: 8.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009371/0.5509, allocations: 0.5107 MB / 0.6391 GB, free: 8.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5509, allocations: 0 / 0.6391 GB, free: 8.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001848/0.5527, allocations: 379.5 kB / 0.6394 GB, free: 7.914 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,frequencyDependent.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01404/0.5668, allocations: 4.762 MB / 0.6441 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006438/0.5733, allocations: 2.155 MB / 0.6462 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5733, allocations: 64 / 0.6462 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003969/0.5773, allocations: 1.333 MB / 0.6475 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.5784, allocations: 71.3 kB / 0.6476 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03692/0.6154, allocations: 13.73 MB / 0.661 GB, free: 1.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.6166, allocations: 1.021 MB / 0.662 GB, free: 464 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000569/0.6172, allocations: 93.53 kB / 0.6621 GB, free: 368 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000679/0.6179, allocations: 355.3 kB / 0.6624 GB, free: 12 kB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.6179, allocations: 4 kB / 0.6624 GB, free: 8 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06225/0.6802, allocations: 28.55 MB / 0.6903 GB, free: 3.664 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/0.6806, allocations: 232.9 kB / 0.6905 GB, free: 3.402 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/3.456, allocations: 0 / 0.6905 GB, free: 3.402 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestFreqDependent.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestFreqDependent.pipe 2>&1)