Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.001544/0.001545, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 239.3 MB, free: 4.637 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.001938/0.001938, allocations: 200 kB / 289.6 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5639/0.5639, allocations: 91.92 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 83.88 kB / 0.502 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4273, allocations: 71.26 MB / 0.5716 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005916/0.4333, allocations: 6.453 MB / 0.5779 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.437, allocations: 1.871 MB / 0.5797 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006934/0.4377, allocations: 10.91 kB / 0.5797 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004704/0.4383, allocations: 225.8 kB / 0.5799 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.4399, allocations: 0.711 MB / 0.5806 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.4411, allocations: 0.6113 MB / 0.5812 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.4423, allocations: 1.411 MB / 0.5826 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.4427, allocations: 337.9 kB / 0.5829 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005696/0.4433, allocations: 0.586 MB / 0.5835 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006187/0.4439, allocations: 0.7294 MB / 0.5842 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.444, allocations: 107.7 kB / 0.5843 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.4445, allocations: 235.1 kB / 0.5845 GB, free: 28.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.4447, allocations: 284 kB / 0.5848 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.445, allocations: 0.6217 MB / 0.5854 GB, free: 28.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.4461, allocations: 1.505 MB / 0.5869 GB, free: 27.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4461, allocations: 0 / 0.5869 GB, free: 27.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4461, allocations: 0 / 0.5869 GB, free: 27.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.4461, allocations: 1.25 kB / 0.5869 GB, free: 27.61 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007716/0.4538, allocations: 2.561 MB / 0.5894 GB, free: 26.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.4539, allocations: 9.875 kB / 0.5894 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.4541, allocations: 125.3 kB / 0.5895 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/0.459, allocations: 0.7837 MB / 0.5903 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.4604, allocations: 0.7728 MB / 0.591 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/0.4607, allocations: 260.7 kB / 0.5913 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.4609, allocations: 76.06 kB / 0.5914 GB, free: 25.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.4633, allocations: 1.083 MB / 0.5924 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.4633, allocations: 0 / 0.5924 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/0.4634, allocations: 30.94 kB / 0.5924 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.4634, allocations: 17.88 kB / 0.5925 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.4658, allocations: 1.123 MB / 0.5936 GB, free: 24.61 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.005774/0.4716, allocations: 3.471 MB / 0.5969 GB, free: 22.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.4738, allocations: 1.421 MB / 0.5983 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.4755, allocations: 0.7909 MB / 0.5991 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.4756, allocations: 15.66 kB / 0.5991 GB, free: 21.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4756, allocations: 48.44 kB / 0.5992 GB, free: 21.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.446e-06/0.4757, allocations: 0 / 0.5992 GB, free: 21.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02759/0.5033, allocations: 6.602 MB / 0.6056 GB, free: 20.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.5034, allocations: 66.16 kB / 0.6057 GB, free: 20.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.5051, allocations: 0.8978 MB / 0.6066 GB, free: 19.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002246/0.5054, allocations: 45.52 kB / 0.6066 GB, free: 19.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.5058, allocations: 498.4 kB / 0.6071 GB, free: 19.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/0.5063, allocations: 346.4 kB / 0.6074 GB, free: 18.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004742/0.5068, allocations: 201.4 kB / 0.6076 GB, free: 18.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5069, allocations: 350.7 kB / 0.6079 GB, free: 18.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.5087, allocations: 0.7237 MB / 0.6086 GB, free: 18.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.5105, allocations: 0.8519 MB / 0.6095 GB, free: 17.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/0.5302, allocations: 4.837 MB / 0.6142 GB, free: 16.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.5303, allocations: 1.219 kB / 0.6142 GB, free: 16.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01323/0.5435, allocations: 4.275 MB / 0.6184 GB, free: 14.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.5436, allocations: 7.938 kB / 0.6184 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5436, allocations: 4 kB / 0.6184 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005853/0.5495, allocations: 1.807 MB / 0.6201 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.5507, allocations: 211.7 kB / 0.6203 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.5707, allocations: 9.328 MB / 0.6295 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.5728, allocations: 183 kB / 0.6296 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5729, allocations: 35.98 kB / 0.6297 GB, free: 2.363 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006074/0.5735, allocations: 249.5 kB / 0.6299 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.5737, allocations: 122.5 kB / 0.63 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.5866, allocations: 4.014 MB / 0.6339 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.5867, allocations: 8 kB / 0.6339 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5867, allocations: 4 kB / 0.6339 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.5867, allocations: 7.984 kB / 0.634 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.6022, allocations: 5.614 MB / 0.6394 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.6022, allocations: 0 / 0.6394 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.603, allocations: 131.8 kB / 0.6396 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006336/0.6094, allocations: 1.756 MB / 0.6413 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000203/0.6096, allocations: 19.94 kB / 0.6413 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02052/0.6301, allocations: 8.076 MB / 0.6492 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6302, allocations: 0 / 0.6492 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.647, allocations: 4.966 MB / 0.654 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.6476, allocations: 203.4 kB / 0.6542 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/0.6482, allocations: 16 kB / 0.6542 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.6498, allocations: 119.8 kB / 0.6544 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007983/0.6506, allocations: 212.7 kB / 0.6546 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.6508, allocations: 27.98 kB / 0.6546 GB, free: 8.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.6519, allocations: 0.6047 MB / 0.6552 GB, free: 7.852 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.6519, allocations: 0 / 0.6552 GB, free: 7.852 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001997/0.6539, allocations: 443.4 kB / 0.6556 GB, free: 7.418 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01645/0.6703, allocations: 5.534 MB / 0.661 GB, free: 1.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008146/0.6785, allocations: 2.546 MB / 0.6635 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.6786, allocations: 3.938 kB / 0.6635 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005371/0.684, allocations: 1.586 MB / 0.665 GB, free: 13.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.6857, allocations: 88.42 kB / 0.6651 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0415/0.7272, allocations: 15.93 MB / 0.6807 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009253/0.7282, allocations: 1.095 MB / 0.6818 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004872/0.7287, allocations: 94.75 kB / 0.6818 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/0.7294, allocations: 443.3 kB / 0.6823 GB, free: 11.62 MB / 494.1 MB Notification: Performance of SimCode: time 2.625e-06/0.7294, allocations: 4 kB / 0.6823 GB, free: 11.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07867/0.8081, allocations: 33.36 MB / 0.7149 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.87, allocations: 15.41 kB / 0.7149 GB, free: 10.41 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)