Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007633/0.007634, allocations: 172.5 kB / 15.12 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 239 MB, free: 1.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.000961, allocations: 110 kB / 290.2 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6155/0.6155, allocations: 78.58 MB / 419.9 MB, free: 44.24 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.00042, allocations: 12 kB / 499.8 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4767, allocations: 69.34 MB / 0.5559 GB, free: 38.9 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005863/0.4826, allocations: 5.621 MB / 0.5613 GB, free: 37.88 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003969/0.4866, allocations: 1.849 MB / 0.5631 GB, free: 36.56 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009015/0.4876, allocations: 11.88 kB / 0.5632 GB, free: 36.56 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005035/0.4881, allocations: 157.4 kB / 0.5633 GB, free: 36.49 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.4899, allocations: 0.6545 MB / 0.5639 GB, free: 36.04 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.4913, allocations: 0.5158 MB / 0.5645 GB, free: 35.78 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001629/0.4929, allocations: 0.9115 MB / 0.5653 GB, free: 35.29 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.4934, allocations: 275.9 kB / 0.5656 GB, free: 35.15 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.4942, allocations: 0.4985 MB / 0.5661 GB, free: 34.92 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007223/0.4949, allocations: 0.6299 MB / 0.5667 GB, free: 34.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.4951, allocations: 54.12 kB / 0.5668 GB, free: 34.64 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.4956, allocations: 169.5 kB / 0.5669 GB, free: 34.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.4957, allocations: 212.5 kB / 0.5671 GB, free: 34.47 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.4959, allocations: 224 kB / 0.5673 GB, free: 34.33 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.497, allocations: 1.056 MB / 0.5684 GB, free: 34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.497, allocations: 4 kB / 0.5684 GB, free: 34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.497, allocations: 2.844 kB / 0.5684 GB, free: 34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.497, allocations: 0 / 0.5684 GB, free: 34 MB / 426.7 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.007455/0.5045, allocations: 2.401 MB / 0.5707 GB, free: 32.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.5045, allocations: 9.75 kB / 0.5707 GB, free: 32.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002799/0.5048, allocations: 127.3 kB / 0.5708 GB, free: 32.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/0.5094, allocations: 0.7915 MB / 0.5716 GB, free: 32.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.5106, allocations: 0.7331 MB / 0.5723 GB, free: 32.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.5108, allocations: 267.5 kB / 0.5726 GB, free: 31.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.5109, allocations: 78.5 kB / 0.5727 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.513, allocations: 1.16 MB / 0.5738 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.513, allocations: 0 / 0.5738 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.802e-05/0.5131, allocations: 29.84 kB / 0.5738 GB, free: 31.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.5131, allocations: 24.55 kB / 0.5739 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.5155, allocations: 1.235 MB / 0.5751 GB, free: 31.16 MB / 426.7 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.005187/0.5207, allocations: 3.621 MB / 0.5786 GB, free: 29.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.5227, allocations: 1.524 MB / 0.5801 GB, free: 28.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.5229, allocations: 13.84 kB / 0.5801 GB, free: 28.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.5229, allocations: 42.41 kB / 0.5801 GB, free: 28.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 3.266e-06/0.5229, allocations: 3.938 kB / 0.5801 GB, free: 28.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02488/0.5478, allocations: 8.162 MB / 0.5881 GB, free: 26.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.5478, allocations: 66.09 kB / 0.5882 GB, free: 26.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.5489, allocations: 0.8863 MB / 0.589 GB, free: 26.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.549, allocations: 48.55 kB / 0.5891 GB, free: 26.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.5493, allocations: 0.4916 MB / 0.5896 GB, free: 25.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.5496, allocations: 343.7 kB / 0.5899 GB, free: 25.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.5497, allocations: 20.72 kB / 0.5899 GB, free: 25.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.5497, allocations: 352.6 kB / 0.5902 GB, free: 25.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.5515, allocations: 0.8088 MB / 0.591 GB, free: 24.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.5532, allocations: 0.9314 MB / 0.5919 GB, free: 24.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.555, allocations: 0.8694 MB / 0.5928 GB, free: 24.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.555, allocations: 1.375 kB / 0.5928 GB, free: 24.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01514/0.5701, allocations: 5.203 MB / 0.5979 GB, free: 23.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.5702, allocations: 10.41 kB / 0.5979 GB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5702, allocations: 6.062 kB / 0.5979 GB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007248/0.5775, allocations: 2.103 MB / 0.5999 GB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.5789, allocations: 238.7 kB / 0.6002 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/0.6037, allocations: 9.991 MB / 0.6099 GB, free: 17.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.6054, allocations: 224.7 kB / 0.6101 GB, free: 17.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.6056, allocations: 40.17 kB / 0.6102 GB, free: 17.57 MB / 426.7 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.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (112): * Single equations (assignments): 111 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005876/0.6062, allocations: 235.7 kB / 0.6104 GB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.6065, allocations: 122.5 kB / 0.6105 GB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.6205, allocations: 4.955 MB / 0.6154 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.6206, allocations: 8 kB / 0.6154 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6206, allocations: 0 / 0.6154 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.6206, allocations: 7.969 kB / 0.6154 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/0.6363, allocations: 6.559 MB / 0.6218 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6363, allocations: 8 kB / 0.6218 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/0.637, allocations: 139.9 kB / 0.6219 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005853/0.6429, allocations: 2.059 MB / 0.6239 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.643, allocations: 19.98 kB / 0.624 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01921/0.6622, allocations: 8.648 MB / 0.6324 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6622, allocations: 3.953 kB / 0.6324 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01715/0.6794, allocations: 5.985 MB / 0.6383 GB, free: 5.145 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.6798, allocations: 199.5 kB / 0.6384 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.6801, allocations: 23.98 kB / 0.6385 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.6814, allocations: 155.9 kB / 0.6386 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007233/0.6822, allocations: 224.5 kB / 0.6388 GB, free: 4.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-05/0.6823, allocations: 27.88 kB / 0.6389 GB, free: 4.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009615/0.6832, allocations: 0.5969 MB / 0.6394 GB, free: 3.902 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6832, allocations: 0 / 0.6394 GB, free: 3.902 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001567/0.6848, allocations: 443.4 kB / 0.6399 GB, free: 3.469 MB / 442.7 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 (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.01756/0.7024, allocations: 6.561 MB / 0.6463 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008055/0.7105, allocations: 2.763 MB / 0.649 GB, free: 10.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7105, allocations: 0 / 0.649 GB, free: 10.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005543/0.7161, allocations: 1.803 MB / 0.6507 GB, free: 8.281 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.7169, allocations: 74.5 kB / 0.6508 GB, free: 8.211 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.7229, allocations: 4.214 MB / 0.6549 GB, free: 3.898 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.7237, allocations: 1.122 MB / 0.656 GB, free: 2.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004368/0.7241, allocations: 86.77 kB / 0.6561 GB, free: 2.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/0.7247, allocations: 443.3 kB / 0.6565 GB, free: 2.23 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/0.7247, allocations: 0 / 0.6565 GB, free: 2.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0547/0.7795, allocations: 29.33 MB / 0.6852 GB, free: 5.109 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.7797, allocations: 220 kB / 0.6854 GB, free: 4.867 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/3.677, allocations: 1.969 kB / 0.6854 GB, free: 4.867 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)