Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.0007712/0.0007711, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.288/1.288, allocations: 223.2 MB / 239 MB, free: 5.438 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.001382/0.001382, allocations: 180.5 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4856/0.4856, allocations: 79.47 MB / 420.8 MB, free: 3.895 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003979, allocations: 12 kB / 0.4892 GB, free: 5.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4197, allocations: 69.51 MB / 0.5571 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.00582/0.4256, allocations: 5.87 MB / 0.5628 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003893/0.4295, allocations: 1.793 MB / 0.5646 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.4306, allocations: 12.62 kB / 0.5646 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.4311, allocations: 160.2 kB / 0.5647 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.433, allocations: 0.5924 MB / 0.5653 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.4342, allocations: 0.5061 MB / 0.5658 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.4356, allocations: 1.275 MB / 0.5671 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.4361, allocations: 267.5 kB / 0.5673 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006872/0.4368, allocations: 0.4943 MB / 0.5678 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006956/0.4375, allocations: 0.6334 MB / 0.5684 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.4376, allocations: 53.16 kB / 0.5685 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.438, allocations: 172 kB / 0.5686 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.4382, allocations: 215.7 kB / 0.5688 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.4384, allocations: 223.5 kB / 0.569 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008905/0.4393, allocations: 1.089 MB / 0.5701 GB, free: 35.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4393, allocations: 0 / 0.5701 GB, free: 35.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4393, allocations: 0 / 0.5701 GB, free: 35.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.4393, allocations: 2.906 kB / 0.5701 GB, free: 35.39 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006494/0.4458, allocations: 2.384 MB / 0.5724 GB, free: 34.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.4459, allocations: 8.781 kB / 0.5725 GB, free: 34.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003024/0.4462, allocations: 130 kB / 0.5726 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004541/0.4508, allocations: 0.7868 MB / 0.5733 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.4519, allocations: 0.7201 MB / 0.574 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.4522, allocations: 270 kB / 0.5743 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.4523, allocations: 81.95 kB / 0.5744 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.4544, allocations: 1.157 MB / 0.5755 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.4544, allocations: 0 / 0.5755 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/0.4545, allocations: 29.38 kB / 0.5755 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.4545, allocations: 23.7 kB / 0.5756 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.4567, allocations: 1.234 MB / 0.5768 GB, free: 32.89 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.004906/0.4617, allocations: 3.507 MB / 0.5802 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.4634, allocations: 1.508 MB / 0.5817 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.4648, allocations: 0.8613 MB / 0.5825 GB, free: 29.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.4649, allocations: 22.83 kB / 0.5825 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.4649, allocations: 38.84 kB / 0.5826 GB, free: 29.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.116e-06/0.4649, allocations: 0 / 0.5826 GB, free: 29.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02392/0.4889, allocations: 8.323 MB / 0.5907 GB, free: 28.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.489, allocations: 62.5 kB / 0.5908 GB, free: 28.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.4902, allocations: 0.877 MB / 0.5916 GB, free: 27.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.4904, allocations: 40.61 kB / 0.5916 GB, free: 27.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.4907, allocations: 0.4912 MB / 0.5921 GB, free: 27.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.491, allocations: 341.8 kB / 0.5925 GB, free: 27.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.4911, allocations: 29.56 kB / 0.5925 GB, free: 27.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.4912, allocations: 343.1 kB / 0.5928 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.4928, allocations: 0.7995 MB / 0.5936 GB, free: 26.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.4948, allocations: 0.9282 MB / 0.5945 GB, free: 26.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.4964, allocations: 0.8532 MB / 0.5953 GB, free: 25.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4965, allocations: 1.375 kB / 0.5953 GB, free: 25.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01385/0.5103, allocations: 5.138 MB / 0.6003 GB, free: 24.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.5104, allocations: 8.219 kB / 0.6004 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.5104, allocations: 3.828 kB / 0.6004 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006474/0.5169, allocations: 2.186 MB / 0.6025 GB, free: 24.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.5181, allocations: 218.9 kB / 0.6027 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/0.5388, allocations: 9.345 MB / 0.6118 GB, free: 19.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.5404, allocations: 225.1 kB / 0.612 GB, free: 19.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/0.5407, allocations: 40.31 kB / 0.6121 GB, free: 19.63 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006993/0.5414, allocations: 236.4 kB / 0.6123 GB, free: 19.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/0.5418, allocations: 119.2 kB / 0.6124 GB, free: 19.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.5538, allocations: 4.948 MB / 0.6173 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.5538, allocations: 11.94 kB / 0.6173 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5538, allocations: 0 / 0.6173 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/0.5539, allocations: 4.594 kB / 0.6173 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.5674, allocations: 6.56 MB / 0.6237 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.5674, allocations: 0 / 0.6237 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/0.5681, allocations: 147.8 kB / 0.6238 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005103/0.5733, allocations: 2.049 MB / 0.6258 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.5735, allocations: 20 kB / 0.6258 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/0.589, allocations: 8.216 MB / 0.6339 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.589, allocations: 0 / 0.6339 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.6036, allocations: 5.994 MB / 0.6397 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.6041, allocations: 195.4 kB / 0.6399 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/0.6045, allocations: 20 kB / 0.6399 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.6056, allocations: 157.5 kB / 0.6401 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007286/0.6064, allocations: 212.6 kB / 0.6403 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.6065, allocations: 24 kB / 0.6403 GB, free: 7.031 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008337/0.6073, allocations: 0.5848 MB / 0.6409 GB, free: 6.438 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6073, allocations: 0 / 0.6409 GB, free: 6.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001603/0.6089, allocations: 443.4 kB / 0.6413 GB, free: 6.004 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01489/0.6238, allocations: 6.562 MB / 0.6477 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007063/0.631, allocations: 2.751 MB / 0.6504 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.631, allocations: 0 / 0.6504 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004665/0.6357, allocations: 1.794 MB / 0.6521 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.6369, allocations: 89.06 kB / 0.6522 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/0.6625, allocations: 11.39 MB / 0.6633 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/0.6633, allocations: 1.088 MB / 0.6644 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005352/0.6639, allocations: 88.47 kB / 0.6645 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/0.6646, allocations: 439.3 kB / 0.6649 GB, free: 13.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6646, allocations: 0 / 0.6649 GB, free: 13.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8656/1.53, allocations: 29.42 MB / 0.6936 GB, free: 448 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/1.53, allocations: 213.7 kB / 0.6938 GB, free: 204 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/3.941, allocations: 0 / 0.6938 GB, free: 204 kB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) Environment - environmentSimulation: