Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_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.001151/0.001152, allocations: 91.3 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.344/1.344, allocations: 223.3 MB / 239 MB, free: 5.453 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.0009718/0.0009716, allocations: 176.6 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4827/0.4827, allocations: 78.56 MB / 419.9 MB, free: 4.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 12 kB / 499.9 MB, free: 6.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 69.36 MB / 0.5559 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2745/0.4162, allocations: 5.91 MB / 0.5617 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004268/0.4205, allocations: 1.804 MB / 0.5634 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008381/0.4214, allocations: 11.75 kB / 0.5634 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004704/0.4218, allocations: 158 kB / 0.5636 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.4234, allocations: 0.6025 MB / 0.5642 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.4245, allocations: 0.5125 MB / 0.5647 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.4258, allocations: 1.282 MB / 0.5659 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.4262, allocations: 263.5 kB / 0.5662 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.4268, allocations: 0.4987 MB / 0.5667 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005736/0.4273, allocations: 0.643 MB / 0.5673 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.4275, allocations: 52.25 kB / 0.5673 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.4279, allocations: 178.7 kB / 0.5675 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.428, allocations: 223.6 kB / 0.5677 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.4282, allocations: 221.4 kB / 0.5679 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.4291, allocations: 1.103 MB / 0.569 GB, free: 35.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4291, allocations: 0 / 0.569 GB, free: 35.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4291, allocations: 0 / 0.569 GB, free: 35.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.4292, allocations: 0 / 0.569 GB, free: 35.68 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.006686/0.4358, allocations: 2.399 MB / 0.5714 GB, free: 34.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4359, allocations: 12.31 kB / 0.5714 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002291/0.4361, allocations: 133.6 kB / 0.5715 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.4407, allocations: 0.7892 MB / 0.5723 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.4418, allocations: 0.7286 MB / 0.573 GB, free: 34.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.442, allocations: 269.6 kB / 0.5732 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.4422, allocations: 77.56 kB / 0.5733 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.4442, allocations: 1.162 MB / 0.5744 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.4443, allocations: 0.75 kB / 0.5744 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.292e-05/0.4444, allocations: 31.47 kB / 0.5745 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.4444, allocations: 23.55 kB / 0.5745 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.4467, allocations: 1.238 MB / 0.5757 GB, free: 33.86 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.005134/0.4519, allocations: 3.528 MB / 0.5792 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.4537, allocations: 1.521 MB / 0.5806 GB, free: 30.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.4551, allocations: 0.8665 MB / 0.5815 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.4553, allocations: 11.41 kB / 0.5815 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.4553, allocations: 41.88 kB / 0.5815 GB, free: 30.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.715e-06/0.4553, allocations: 1.875 kB / 0.5815 GB, free: 30.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02456/0.4799, allocations: 8.165 MB / 0.5895 GB, free: 29.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.48, allocations: 62.62 kB / 0.5896 GB, free: 29.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.4814, allocations: 0.8955 MB / 0.5904 GB, free: 28.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002828/0.4817, allocations: 45.92 kB / 0.5905 GB, free: 28.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.4821, allocations: 0.4916 MB / 0.591 GB, free: 28.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/0.4825, allocations: 343.4 kB / 0.5913 GB, free: 28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.4826, allocations: 25.28 kB / 0.5913 GB, free: 27.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4827, allocations: 346.1 kB / 0.5916 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.4844, allocations: 0.8132 MB / 0.5924 GB, free: 27.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.4862, allocations: 0.941 MB / 0.5934 GB, free: 27.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.4881, allocations: 0.8593 MB / 0.5942 GB, free: 26.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.4881, allocations: 0 / 0.5942 GB, free: 26.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01513/0.5033, allocations: 5.204 MB / 0.5993 GB, free: 25.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.5034, allocations: 8.078 kB / 0.5993 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/0.5035, allocations: 6.062 kB / 0.5993 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007828/0.5113, allocations: 2.105 MB / 0.6014 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.5126, allocations: 238.9 kB / 0.6016 GB, free: 25.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02201/0.5346, allocations: 9.536 MB / 0.6109 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.5364, allocations: 225.3 kB / 0.6111 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/0.5366, allocations: 39.66 kB / 0.6111 GB, free: 20.61 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.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.0006961/0.5374, allocations: 236.2 kB / 0.6114 GB, free: 20.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.5377, allocations: 126.5 kB / 0.6115 GB, free: 20.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.55, allocations: 4.947 MB / 0.6163 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.55, allocations: 8 kB / 0.6163 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.55, allocations: 1.188 kB / 0.6163 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.5501, allocations: 12.58 kB / 0.6163 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.5634, allocations: 6.559 MB / 0.6227 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.5634, allocations: 0 / 0.6227 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.5641, allocations: 140.5 kB / 0.6229 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005201/0.5694, allocations: 2.052 MB / 0.6249 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/0.5696, allocations: 19.98 kB / 0.6249 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/0.5855, allocations: 8.214 MB / 0.6329 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5855, allocations: 3.953 kB / 0.6329 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.6013, allocations: 5.986 MB / 0.6388 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.6018, allocations: 209.8 kB / 0.639 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/0.6022, allocations: 20 kB / 0.639 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.6034, allocations: 159.9 kB / 0.6391 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007832/0.6042, allocations: 212.6 kB / 0.6394 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.6043, allocations: 25.27 kB / 0.6394 GB, free: 7.996 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008769/0.6052, allocations: 0.5968 MB / 0.64 GB, free: 7.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6052, allocations: 0 / 0.64 GB, free: 7.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001673/0.6069, allocations: 443.4 kB / 0.6404 GB, free: 6.953 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 (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.01589/0.6228, allocations: 6.569 MB / 0.6468 GB, free: 360 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007575/0.6304, allocations: 2.765 MB / 0.6495 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.6305, allocations: 0 / 0.6495 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005021/0.6355, allocations: 1.8 MB / 0.6513 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.6367, allocations: 84.41 kB / 0.6513 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02653/0.6633, allocations: 11.6 MB / 0.6627 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007844/0.6641, allocations: 1.097 MB / 0.6637 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005039/0.6646, allocations: 89.67 kB / 0.6638 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/0.6653, allocations: 439.3 kB / 0.6642 GB, free: 14.15 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6653, allocations: 3.938 kB / 0.6642 GB, free: 14.14 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05517/0.7205, allocations: 29.88 MB / 0.6934 GB, free: 0.668 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.7207, allocations: 214.6 kB / 0.6936 GB, free: 436 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.205, allocations: 0 / 0.6936 GB, free: 436 kB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) Environment - environmentSimulation: