Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.007722/0.007722, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.36/1.36, 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.001531/0.001531, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5053/0.5053, allocations: 91.9 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 85 kB / 0.5723 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1385, allocations: 71.28 MB / 0.6419 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.007995/0.1466, allocations: 5.365 MB / 0.6471 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.1505, allocations: 1.653 MB / 0.6487 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000671/0.1512, allocations: 8 kB / 0.6487 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.1518, allocations: 182.4 kB / 0.6489 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.1536, allocations: 0.6758 MB / 0.6496 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.1549, allocations: 0.4923 MB / 0.6501 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1561, allocations: 1.105 MB / 0.6511 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/0.1566, allocations: 266.8 kB / 0.6514 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/0.1572, allocations: 477.9 kB / 0.6518 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008213/0.158, allocations: 0.6184 MB / 0.6524 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.1582, allocations: 84 kB / 0.6525 GB, free: 9.121 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005374/0.1587, allocations: 227.8 kB / 0.6527 GB, free: 8.898 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.1591, allocations: 239 kB / 0.653 GB, free: 8.664 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005522/0.1597, allocations: 0.5126 MB / 0.6535 GB, free: 8.148 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.1612, allocations: 1.276 MB / 0.6547 GB, free: 6.867 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1613, allocations: 0 / 0.6547 GB, free: 6.867 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1613, allocations: 0 / 0.6547 GB, free: 6.867 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.1613, allocations: 4 kB / 0.6547 GB, free: 6.863 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006917/0.1682, allocations: 2.215 MB / 0.6569 GB, free: 4.594 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1683, allocations: 12.03 kB / 0.6569 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.1684, allocations: 114.7 kB / 0.657 GB, free: 4.461 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/0.1726, allocations: 0.6513 MB / 0.6576 GB, free: 3.809 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009845/0.1736, allocations: 0.659 MB / 0.6583 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.1738, allocations: 176.1 kB / 0.6585 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.1739, allocations: 60 kB / 0.6585 GB, free: 2.852 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.1758, allocations: 0.8848 MB / 0.6594 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1758, allocations: 0 / 0.6594 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.66e-05/0.1759, allocations: 20 kB / 0.6594 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.1759, allocations: 19.94 kB / 0.6594 GB, free: 1.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.1779, allocations: 0.9264 MB / 0.6603 GB, free: 0.9961 MB / 462.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.004264/0.1822, allocations: 2.471 MB / 0.6627 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.1841, allocations: 1.121 MB / 0.6638 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.1854, allocations: 0.6562 MB / 0.6645 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1856, allocations: 12.98 kB / 0.6645 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1856, allocations: 47.5 kB / 0.6645 GB, free: 12.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.765e-06/0.1856, allocations: 0 / 0.6645 GB, free: 12.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.02161/0.2072, allocations: 5.537 MB / 0.6699 GB, free: 6.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.2073, allocations: 60.41 kB / 0.67 GB, free: 6.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.2084, allocations: 0.7592 MB / 0.6707 GB, free: 6.066 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.2085, allocations: 45.64 kB / 0.6708 GB, free: 6.016 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.2088, allocations: 405.2 kB / 0.6712 GB, free: 5.613 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.2091, allocations: 313.3 kB / 0.6715 GB, free: 5.305 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.2095, allocations: 178.9 kB / 0.6716 GB, free: 5.125 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2097, allocations: 357.9 kB / 0.672 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.2111, allocations: 0.6193 MB / 0.6726 GB, free: 4.148 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.2125, allocations: 0.7349 MB / 0.6733 GB, free: 3.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/0.2297, allocations: 4.214 MB / 0.6774 GB, free: 15.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2298, allocations: 0 / 0.6774 GB, free: 15.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01164/0.2414, allocations: 3.595 MB / 0.6809 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.2416, allocations: 4 kB / 0.6809 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.2416, allocations: 4.188 kB / 0.6809 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005706/0.2473, allocations: 1.503 MB / 0.6824 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.2483, allocations: 195.7 kB / 0.6826 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/0.2672, allocations: 8.149 MB / 0.6905 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.2685, allocations: 139.5 kB / 0.6907 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.2686, allocations: 39.98 kB / 0.6907 GB, free: 1.363 MB / 494.1 MB Warning: Assuming fixed start value for the following 3 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 mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (97): * Single equations (assignments): 96 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004393/0.269, allocations: 240 kB / 0.6909 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.2692, allocations: 99.34 kB / 0.691 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.2802, allocations: 3.403 MB / 0.6944 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.2803, allocations: 15.88 kB / 0.6944 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2803, allocations: 0 / 0.6944 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.2803, allocations: 3.984 kB / 0.6944 GB, free: 13.58 MB / 0.4981 GB 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 postOpt removeSimpleEquations (simulation): time 0.01335/0.2937, allocations: 4.777 MB / 0.699 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.2937, allocations: 3.984 kB / 0.699 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.2944, allocations: 99.81 kB / 0.6991 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005757/0.3001, allocations: 1.522 MB / 0.7006 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/0.3004, allocations: 19.98 kB / 0.7006 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/0.317, allocations: 7.358 MB / 0.7078 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.317, allocations: 0 / 0.7078 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/0.3299, allocations: 4.284 MB / 0.712 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.3303, allocations: 188.3 kB / 0.7122 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.3304, allocations: 16 kB / 0.7122 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/0.3313, allocations: 83.84 kB / 0.7123 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005289/0.3318, allocations: 176.5 kB / 0.7125 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.3319, allocations: 20 kB / 0.7125 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006224/0.3325, allocations: 0.5146 MB / 0.713 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3325, allocations: 0 / 0.713 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001058/0.3336, allocations: 379.7 kB / 0.7133 GB, free: 9.855 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 {(20,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01323/0.3469, allocations: 4.855 MB / 0.7181 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005602/0.3525, allocations: 2.136 MB / 0.7202 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3525, allocations: 0 / 0.7202 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0038/0.3563, allocations: 1.353 MB / 0.7215 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.3571, allocations: 80.55 kB / 0.7216 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/0.3897, allocations: 13.17 MB / 0.7344 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.3905, allocations: 1.029 MB / 0.7354 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005115/0.391, allocations: 89.62 kB / 0.7355 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.3915, allocations: 363.3 kB / 0.7359 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.3915, allocations: 0 / 0.7359 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06342/0.4549, allocations: 29.76 MB / 0.7649 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/14.86, allocations: 10.17 kB / 0.7649 GB, free: 4.887 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)