Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json 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/ModelicaServices 4.0.0+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/Complex 4.0.0+maint.om/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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07934/0.07934, allocations: 12.2 MB / 27.33 MB, free: 1.441 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 119.4 kB / 30.84 MB, free: 4.711 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.1 MB / 239.3 MB, free: 10.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 200.4 kB / 289.5 MB, free: 15.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4427/0.4427, allocations: 78.51 MB / 418 MB, free: 31.78 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 123.8 kB / 498.3 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3165, allocations: 68.03 MB / 0.5531 GB, free: 37.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005798/0.3224, allocations: 6.816 MB / 0.5597 GB, free: 32.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.3255, allocations: 1.885 MB / 0.5616 GB, free: 31.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005305/0.3261, allocations: 11.75 kB / 0.5616 GB, free: 31.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.3266, allocations: 175.5 kB / 0.5618 GB, free: 31.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.3279, allocations: 0.6272 MB / 0.5624 GB, free: 30.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3289, allocations: 0.5656 MB / 0.5629 GB, free: 30.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009794/0.3299, allocations: 1.352 MB / 0.5642 GB, free: 29.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.3303, allocations: 295.3 kB / 0.5645 GB, free: 29.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.3307, allocations: 0.5392 MB / 0.565 GB, free: 29.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.3312, allocations: 0.7105 MB / 0.5657 GB, free: 29.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.3314, allocations: 68.62 kB / 0.5658 GB, free: 29.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.3317, allocations: 188.5 kB / 0.566 GB, free: 29.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.3319, allocations: 249.4 kB / 0.5662 GB, free: 28.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.3322, allocations: 0.59 MB / 0.5668 GB, free: 28.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009143/0.3332, allocations: 1.458 MB / 0.5682 GB, free: 27.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3332, allocations: 0 / 0.5682 GB, free: 27.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3332, allocations: 0 / 0.5682 GB, free: 27.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3332, allocations: 0 / 0.5682 GB, free: 27.84 MB / 414.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.007122/0.3403, allocations: 2.568 MB / 0.5707 GB, free: 26.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3404, allocations: 14.52 kB / 0.5707 GB, free: 26.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.3405, allocations: 123.5 kB / 0.5709 GB, free: 26.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/0.3451, allocations: 0.7841 MB / 0.5716 GB, free: 26.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.3461, allocations: 0.7733 MB / 0.5724 GB, free: 25.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.3463, allocations: 258.1 kB / 0.5726 GB, free: 25.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.3464, allocations: 78.5 kB / 0.5727 GB, free: 25.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.3485, allocations: 1.084 MB / 0.5738 GB, free: 25.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3485, allocations: 6.625 kB / 0.5738 GB, free: 25.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.714e-05/0.3486, allocations: 29.56 kB / 0.5738 GB, free: 25.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3486, allocations: 19.19 kB / 0.5738 GB, free: 25.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.3508, allocations: 1.116 MB / 0.5749 GB, free: 24.84 MB / 414.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.005417/0.3562, allocations: 3.466 MB / 0.5783 GB, free: 22.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.3582, allocations: 1.427 MB / 0.5797 GB, free: 21.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.3598, allocations: 0.7815 MB / 0.5804 GB, free: 21.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.3599, allocations: 12.72 kB / 0.5805 GB, free: 21.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.36, allocations: 47.72 kB / 0.5805 GB, free: 21.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.417e-06/0.36, allocations: 0.8125 kB / 0.5805 GB, free: 21.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=97): time 0.02558/0.3855, allocations: 6.612 MB / 0.587 GB, free: 19.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.3856, allocations: 61.28 kB / 0.587 GB, free: 19.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.3871, allocations: 0.8924 MB / 0.5879 GB, free: 19.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002129/0.3874, allocations: 45.67 kB / 0.5879 GB, free: 19.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.3877, allocations: 0.4958 MB / 0.5884 GB, free: 18.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/0.3881, allocations: 346 kB / 0.5888 GB, free: 18.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005295/0.3886, allocations: 203.8 kB / 0.5889 GB, free: 18.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.3887, allocations: 347.7 kB / 0.5893 GB, free: 18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.3904, allocations: 0.7229 MB / 0.59 GB, free: 17.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.3921, allocations: 0.8544 MB / 0.5908 GB, free: 17.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01823/0.4104, allocations: 4.819 MB / 0.5955 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.4104, allocations: 1.281 kB / 0.5955 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01219/0.4226, allocations: 4.276 MB / 0.5997 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.4227, allocations: 7.938 kB / 0.5997 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.4227, allocations: 11.94 kB / 0.5997 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005691/0.4284, allocations: 1.807 MB / 0.6015 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.4295, allocations: 207.7 kB / 0.6017 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01854/0.4481, allocations: 8.576 MB / 0.6101 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.4499, allocations: 179 kB / 0.6102 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.4501, allocations: 39.92 kB / 0.6103 GB, free: 15.71 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.0007444/0.4509, allocations: 255.2 kB / 0.6105 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.4513, allocations: 114.6 kB / 0.6106 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.4645, allocations: 4.015 MB / 0.6145 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.4645, allocations: 8 kB / 0.6145 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4646, allocations: 3.938 kB / 0.6146 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/0.4646, allocations: 7.984 kB / 0.6146 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.4801, allocations: 5.616 MB / 0.62 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.4802, allocations: 0 / 0.62 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.4809, allocations: 135.8 kB / 0.6202 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005756/0.4867, allocations: 1.745 MB / 0.6219 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.4869, allocations: 16 kB / 0.6219 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/0.5043, allocations: 7.358 MB / 0.6291 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5044, allocations: 3.938 kB / 0.6291 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/0.5193, allocations: 4.966 MB / 0.6339 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.5197, allocations: 211.3 kB / 0.6341 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.5201, allocations: 16 kB / 0.6341 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.5212, allocations: 103.9 kB / 0.6342 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007482/0.522, allocations: 220.6 kB / 0.6345 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.5221, allocations: 20 kB / 0.6345 GB, free: 6.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009104/0.523, allocations: 0.6008 MB / 0.6351 GB, free: 5.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.523, allocations: 4 kB / 0.6351 GB, free: 5.945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001555/0.5246, allocations: 439.5 kB / 0.6355 GB, free: 5.516 MB / 446.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.01535/0.54, allocations: 5.538 MB / 0.6409 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006984/0.547, allocations: 2.463 MB / 0.6433 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.547, allocations: 0 / 0.6433 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00467/0.5517, allocations: 1.556 MB / 0.6448 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.5528, allocations: 92.02 kB / 0.6449 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03944/0.5923, allocations: 16.34 MB / 0.6609 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/0.5931, allocations: 1.095 MB / 0.6619 GB, free: 9.945 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004603/0.5936, allocations: 82.77 kB / 0.662 GB, free: 9.859 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000644/0.5942, allocations: 439.3 kB / 0.6624 GB, free: 9.43 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5942, allocations: 0 / 0.6624 GB, free: 9.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05173/0.646, allocations: 30.71 MB / 0.6924 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.6462, allocations: 244.2 kB / 0.6927 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.235, allocations: 3.938 kB / 0.6927 GB, free: 10.53 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)