Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.004959/0.004959, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.399/1.399, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001456/0.001456, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5378/0.5378, allocations: 91.9 MB / 431.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 80.47 kB / 0.5723 GB, free: 34.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1231, allocations: 71.28 MB / 0.6419 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006812/0.1299, allocations: 5.758 MB / 0.6475 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.1334, allocations: 1.736 MB / 0.6492 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00037/0.1338, allocations: 15.94 kB / 0.6492 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004654/0.1342, allocations: 194.3 kB / 0.6494 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.1358, allocations: 0.6938 MB / 0.6501 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.137, allocations: 0.5566 MB / 0.6506 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.1384, allocations: 1.253 MB / 0.6518 GB, free: 9.965 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.1388, allocations: 271.4 kB / 0.6521 GB, free: 9.688 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006372/0.1394, allocations: 0.5212 MB / 0.6526 GB, free: 9.164 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007951/0.1402, allocations: 0.6455 MB / 0.6532 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.1404, allocations: 88 kB / 0.6533 GB, free: 8.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.1408, allocations: 227.8 kB / 0.6535 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.1411, allocations: 250.8 kB / 0.6538 GB, free: 7.961 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004988/0.1416, allocations: 0.5398 MB / 0.6543 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.1431, allocations: 1.357 MB / 0.6556 GB, free: 6.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1431, allocations: 4 kB / 0.6556 GB, free: 6.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1431, allocations: 0 / 0.6556 GB, free: 6.051 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.1431, allocations: 3.938 kB / 0.6556 GB, free: 6.047 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00736/0.1505, allocations: 2.38 MB / 0.658 GB, free: 3.613 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1506, allocations: 8.031 kB / 0.658 GB, free: 3.605 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.1507, allocations: 118.5 kB / 0.6581 GB, free: 3.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/0.1555, allocations: 0.7641 MB / 0.6588 GB, free: 2.715 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.1567, allocations: 0.7174 MB / 0.6595 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.157, allocations: 248.2 kB / 0.6598 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.1572, allocations: 72 kB / 0.6598 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.1592, allocations: 0.9637 MB / 0.6608 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1593, allocations: 0 / 0.6608 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.1594, allocations: 28 kB / 0.6608 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.1594, allocations: 16 kB / 0.6608 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.1615, allocations: 0.976 MB / 0.6618 GB, free: 15.62 MB / 478.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.005501/0.167, allocations: 3.163 MB / 0.6649 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.1692, allocations: 1.309 MB / 0.6661 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.1706, allocations: 0.696 MB / 0.6668 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.042e-05/0.1707, allocations: 16.62 kB / 0.6668 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.1707, allocations: 43.22 kB / 0.6669 GB, free: 10.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.295e-06/0.1708, allocations: 4 kB / 0.6669 GB, free: 10.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.02727/0.198, allocations: 6.767 MB / 0.6735 GB, free: 3.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.1981, allocations: 64 kB / 0.6735 GB, free: 3.223 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.1993, allocations: 0.7948 MB / 0.6743 GB, free: 2.402 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.1994, allocations: 45.64 kB / 0.6744 GB, free: 2.352 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.1998, allocations: 441 kB / 0.6748 GB, free: 1.914 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.2002, allocations: 305.4 kB / 0.6751 GB, free: 1.613 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003722/0.2005, allocations: 186.9 kB / 0.6752 GB, free: 1.422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2007, allocations: 349.9 kB / 0.6756 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.2022, allocations: 0.6428 MB / 0.6762 GB, free: 444 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.2038, allocations: 0.7757 MB / 0.677 GB, free: 15.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/0.2211, allocations: 4.496 MB / 0.6814 GB, free: 11.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2211, allocations: 0 / 0.6814 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01315/0.2343, allocations: 4.118 MB / 0.6854 GB, free: 6.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.2344, allocations: 8 kB / 0.6854 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.2344, allocations: 7.938 kB / 0.6854 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00607/0.2405, allocations: 1.783 MB / 0.6871 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/0.2413, allocations: 167.8 kB / 0.6873 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/0.2632, allocations: 9.36 MB / 0.6964 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.2646, allocations: 155.3 kB / 0.6966 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.38e-05/0.2647, allocations: 35.98 kB / 0.6966 GB, free: 11.29 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0004443/0.2651, allocations: 220.6 kB / 0.6968 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.2653, allocations: 103.3 kB / 0.6969 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.278, allocations: 3.837 MB / 0.7007 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.278, allocations: 11.98 kB / 0.7007 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.278, allocations: 0 / 0.7007 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.2781, allocations: 3.984 kB / 0.7007 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.2927, allocations: 5.361 MB / 0.7059 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.2927, allocations: 0 / 0.7059 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.2932, allocations: 91.88 kB / 0.706 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/0.2991, allocations: 1.741 MB / 0.7077 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.2993, allocations: 12 kB / 0.7077 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/0.318, allocations: 8.069 MB / 0.7156 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3181, allocations: 3.938 kB / 0.7156 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/0.3327, allocations: 4.713 MB / 0.7202 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.3332, allocations: 192.2 kB / 0.7204 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.3333, allocations: 16 kB / 0.7204 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/0.3343, allocations: 91.89 kB / 0.7205 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006513/0.335, allocations: 200.7 kB / 0.7207 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-05/0.335, allocations: 19.98 kB / 0.7207 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000748/0.3358, allocations: 0.5343 MB / 0.7212 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3358, allocations: 0 / 0.7212 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001247/0.337, allocations: 415.7 kB / 0.7216 GB, free: 1.312 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.01512/0.3522, allocations: 5.292 MB / 0.7268 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00648/0.3587, allocations: 2.337 MB / 0.7291 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3587, allocations: 4.562 kB / 0.7291 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004467/0.3632, allocations: 1.511 MB / 0.7306 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.364, allocations: 79.28 kB / 0.7306 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03524/0.3992, allocations: 14.18 MB / 0.7445 GB, free: 9.652 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.4, allocations: 1.033 MB / 0.7455 GB, free: 8.594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000319/0.4003, allocations: 82.17 kB / 0.7456 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005318/0.4009, allocations: 363.3 kB / 0.7459 GB, free: 8.156 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.4009, allocations: 0 / 0.7459 GB, free: 8.156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3439/0.7448, allocations: 31.08 MB / 0.7763 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.33, allocations: 3.406 kB / 0.7763 GB, free: 120.5 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)