Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",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.000907/0.000907, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.345/1.345, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001051/0.001051, allocations: 189 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4411/0.4411, allocations: 78.53 MB / 419.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003745, allocations: 8 kB / 499.7 MB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 69.35 MB / 0.5558 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.2188/0.3368, allocations: 5.528 MB / 0.5612 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.3404, allocations: 1.913 MB / 0.563 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006137/0.3411, allocations: 10 kB / 0.563 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.3417, allocations: 170.2 kB / 0.5632 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.3432, allocations: 0.6606 MB / 0.5638 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.3444, allocations: 0.5358 MB / 0.5644 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.3457, allocations: 0.9366 MB / 0.5653 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.3461, allocations: 252.9 kB / 0.5655 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000661/0.3467, allocations: 0.5103 MB / 0.566 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.3473, allocations: 0.6149 MB / 0.5666 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.3474, allocations: 54.22 kB / 0.5667 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.3479, allocations: 162.9 kB / 0.5668 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.348, allocations: 220.7 kB / 0.567 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.3482, allocations: 218.5 kB / 0.5672 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009978/0.3492, allocations: 1.085 MB / 0.5683 GB, free: 36.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3492, allocations: 2.094 kB / 0.5683 GB, free: 36.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3493, allocations: 0 / 0.5683 GB, free: 36.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.3493, allocations: 0 / 0.5683 GB, free: 36.04 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007504/0.3568, allocations: 2.382 MB / 0.5706 GB, free: 35.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3568, allocations: 8.344 kB / 0.5706 GB, free: 35.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000323/0.3572, allocations: 123.5 kB / 0.5708 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/0.3622, allocations: 0.7783 MB / 0.5715 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.3637, allocations: 0.7755 MB / 0.5723 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.3639, allocations: 266.6 kB / 0.5725 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3641, allocations: 79.19 kB / 0.5726 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.3664, allocations: 1.184 MB / 0.5738 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3664, allocations: 3.938 kB / 0.5738 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.3665, allocations: 33.23 kB / 0.5738 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.3665, allocations: 25.75 kB / 0.5738 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.3688, allocations: 1.155 MB / 0.575 GB, free: 34.09 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.005426/0.3742, allocations: 3.632 MB / 0.5785 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.3762, allocations: 1.503 MB / 0.58 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.564e-05/0.3763, allocations: 17.55 kB / 0.58 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.3764, allocations: 51 kB / 0.58 GB, free: 30.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.926e-06/0.3764, allocations: 0 / 0.58 GB, free: 30.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02774/0.4041, allocations: 8.455 MB / 0.5883 GB, free: 29.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.4042, allocations: 88.67 kB / 0.5884 GB, free: 29.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.4056, allocations: 0.9364 MB / 0.5893 GB, free: 29.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002516/0.4059, allocations: 42.98 kB / 0.5893 GB, free: 29.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.4062, allocations: 483.6 kB / 0.5898 GB, free: 28.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.4065, allocations: 317.6 kB / 0.5901 GB, free: 28.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.4066, allocations: 21.12 kB / 0.5901 GB, free: 28.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.4067, allocations: 350.8 kB / 0.5904 GB, free: 28.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.4082, allocations: 0.763 MB / 0.5912 GB, free: 27.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.4098, allocations: 0.8922 MB / 0.5921 GB, free: 27.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.4115, allocations: 0.828 MB / 0.5929 GB, free: 27.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.4115, allocations: 1 kB / 0.5929 GB, free: 27.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01499/0.4265, allocations: 5.117 MB / 0.5979 GB, free: 25.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.4268, allocations: 0.7937 MB / 0.5986 GB, free: 25.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4268, allocations: 0.9688 kB / 0.5986 GB, free: 25.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007121/0.4339, allocations: 2.111 MB / 0.6007 GB, free: 24.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.4351, allocations: 203.1 kB / 0.6009 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02303/0.4581, allocations: 9.993 MB / 0.6107 GB, free: 20.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.4598, allocations: 213.8 kB / 0.6109 GB, free: 20.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.46, allocations: 40.28 kB / 0.6109 GB, free: 20.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.46, allocations: 3.781 kB / 0.6109 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01339/0.4734, allocations: 4.963 MB / 0.6158 GB, free: 16.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.4734, allocations: 4 kB / 0.6158 GB, free: 16.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006065/0.4795, allocations: 2.108 MB / 0.6178 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4805, allocations: 195.7 kB / 0.618 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/0.5, allocations: 9.989 MB / 0.6278 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.5017, allocations: 199.1 kB / 0.6279 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5018, allocations: 40.55 kB / 0.628 GB, free: 3.738 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (106): * Single equations (assignments): 105 * 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.0005635/0.5023, allocations: 329.8 kB / 0.6283 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.5026, allocations: 115.2 kB / 0.6284 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.5155, allocations: 4.869 MB / 0.6332 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.5156, allocations: 8 kB / 0.6332 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5156, allocations: 0 / 0.6332 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.5156, allocations: 3.984 kB / 0.6332 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.531, allocations: 6.458 MB / 0.6395 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.531, allocations: 0 / 0.6395 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006521/0.5317, allocations: 117.8 kB / 0.6396 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006112/0.5378, allocations: 2.042 MB / 0.6416 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.538, allocations: 19.98 kB / 0.6416 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.5564, allocations: 8.65 MB / 0.6501 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5564, allocations: 0.5469 kB / 0.6501 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.572, allocations: 5.833 MB / 0.6558 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.5725, allocations: 199.5 kB / 0.6559 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.5727, allocations: 20.64 kB / 0.656 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.5738, allocations: 151.9 kB / 0.6561 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006168/0.5744, allocations: 200.6 kB / 0.6563 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.5745, allocations: 23.98 kB / 0.6563 GB, free: 6.383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009308/0.5754, allocations: 0.6393 MB / 0.6569 GB, free: 5.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5754, allocations: 0 / 0.6569 GB, free: 5.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001975/0.5774, allocations: 0.7021 MB / 0.6576 GB, free: 5.031 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.01566/0.5931, allocations: 6.4 MB / 0.6639 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01235/0.6055, allocations: 4.609 MB / 0.6684 GB, free: 9.977 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.6055, allocations: 4 kB / 0.6684 GB, free: 9.973 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004876/0.6104, allocations: 1.74 MB / 0.6701 GB, free: 8.223 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009377/0.6114, allocations: 91.36 kB / 0.6702 GB, free: 8.133 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/0.6167, allocations: 4.135 MB / 0.6742 GB, free: 3.938 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/0.6174, allocations: 1.13 MB / 0.6753 GB, free: 2.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000497/0.6179, allocations: 115.2 kB / 0.6754 GB, free: 2.656 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.6184, allocations: 427.3 kB / 0.6758 GB, free: 2.238 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6184, allocations: 0 / 0.6758 GB, free: 2.238 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0562/0.6746, allocations: 36.39 MB / 0.7114 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.6748, allocations: 197.7 kB / 0.7116 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.218, allocations: 0 / 0.7116 GB, free: 13.94 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1) Environment - environmentSimulation: