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.004959/0.004959, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.369/1.369, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.002002/0.002002, allocations: 188.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5169/0.5169, allocations: 91.98 MB / 431.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003617/0.003617, allocations: 77.42 kB / 0.5723 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1388, allocations: 71.29 MB / 0.642 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.006491/0.1454, allocations: 5.389 MB / 0.6472 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.1485, allocations: 1.634 MB / 0.6488 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.149, allocations: 12 kB / 0.6488 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.1495, allocations: 178.4 kB / 0.649 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.1511, allocations: 0.6432 MB / 0.6496 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1522, allocations: 0.4922 MB / 0.6501 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.1536, allocations: 1.109 MB / 0.6512 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/0.154, allocations: 258.8 kB / 0.6514 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006137/0.1546, allocations: 478 kB / 0.6519 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007806/0.1554, allocations: 0.6145 MB / 0.6525 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.1556, allocations: 91.94 kB / 0.6526 GB, free: 9.043 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.156, allocations: 215.9 kB / 0.6528 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.1563, allocations: 243 kB / 0.653 GB, free: 8.594 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004802/0.1568, allocations: 0.5048 MB / 0.6535 GB, free: 8.086 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.1583, allocations: 1.287 MB / 0.6548 GB, free: 6.793 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.1583, allocations: 4 kB / 0.6548 GB, free: 6.789 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1583, allocations: 0 / 0.6548 GB, free: 6.789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.1583, allocations: 3.938 kB / 0.6548 GB, free: 6.785 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.007033/0.1654, allocations: 2.208 MB / 0.6569 GB, free: 4.523 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1654, allocations: 12.03 kB / 0.6569 GB, free: 4.512 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.1656, allocations: 110.7 kB / 0.6571 GB, free: 4.395 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004089/0.1697, allocations: 0.6552 MB / 0.6577 GB, free: 3.738 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000989/0.1707, allocations: 0.6629 MB / 0.6583 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.1709, allocations: 180.1 kB / 0.6585 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.171, allocations: 64 kB / 0.6586 GB, free: 2.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.1729, allocations: 0.8808 MB / 0.6594 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.173, allocations: 0 / 0.6594 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.173, allocations: 28 kB / 0.6595 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1731, allocations: 15.94 kB / 0.6595 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.1751, allocations: 0.9186 MB / 0.6604 GB, free: 0.9219 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.004393/0.1795, allocations: 2.467 MB / 0.6628 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.1816, allocations: 1.135 MB / 0.6639 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.183, allocations: 0.6562 MB / 0.6645 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.1831, allocations: 16.97 kB / 0.6645 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.1832, allocations: 43.56 kB / 0.6646 GB, free: 12.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.374e-06/0.1832, allocations: 0 / 0.6646 GB, free: 12.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.02222/0.2054, allocations: 5.53 MB / 0.67 GB, free: 6.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.2055, allocations: 60.41 kB / 0.67 GB, free: 6.766 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.2066, allocations: 0.767 MB / 0.6708 GB, free: 5.984 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.2068, allocations: 41.7 kB / 0.6708 GB, free: 5.938 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.2071, allocations: 405.2 kB / 0.6712 GB, free: 5.535 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.2075, allocations: 309.3 kB / 0.6715 GB, free: 5.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003643/0.2078, allocations: 182.9 kB / 0.6717 GB, free: 5.047 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.208, allocations: 349.9 kB / 0.672 GB, free: 4.699 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.2095, allocations: 0.6232 MB / 0.6726 GB, free: 4.074 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.211, allocations: 0.7271 MB / 0.6733 GB, free: 3.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01735/0.2284, allocations: 4.221 MB / 0.6775 GB, free: 15.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2284, allocations: 0 / 0.6775 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01211/0.2405, allocations: 3.587 MB / 0.681 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.2406, allocations: 11.94 kB / 0.681 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.2406, allocations: 0 / 0.681 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005815/0.2464, allocations: 1.511 MB / 0.6825 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009683/0.2474, allocations: 179.8 kB / 0.6826 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.2672, allocations: 8.165 MB / 0.6906 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.2685, allocations: 147.5 kB / 0.6907 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.2686, allocations: 35.98 kB / 0.6908 GB, free: 1.281 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.0004407/0.2691, allocations: 230.1 kB / 0.691 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.2693, allocations: 103.3 kB / 0.6911 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.2809, allocations: 3.403 MB / 0.6944 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.281, allocations: 23.91 kB / 0.6944 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.281, allocations: 0 / 0.6944 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.281, allocations: 3.984 kB / 0.6944 GB, free: 13.5 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.01403/0.295, allocations: 4.769 MB / 0.6991 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.2951, allocations: 4 kB / 0.6991 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.2957, allocations: 99.88 kB / 0.6992 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005937/0.3017, allocations: 1.526 MB / 0.7007 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.3018, allocations: 19.98 kB / 0.7007 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01807/0.3199, allocations: 7.358 MB / 0.7079 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.32, allocations: 0 / 0.7079 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/0.3339, allocations: 4.28 MB / 0.7121 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.3343, allocations: 188.3 kB / 0.7123 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.3345, allocations: 12 kB / 0.7123 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009557/0.3354, allocations: 95.77 kB / 0.7124 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005808/0.336, allocations: 164.8 kB / 0.7125 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.202e-05/0.3361, allocations: 27.98 kB / 0.7125 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007177/0.3368, allocations: 0.5146 MB / 0.713 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3369, allocations: 0 / 0.713 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001143/0.338, allocations: 383.7 kB / 0.7134 GB, free: 9.77 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.0142/0.3522, allocations: 4.854 MB / 0.7182 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006167/0.3584, allocations: 2.132 MB / 0.7202 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3584, allocations: 0 / 0.7202 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004124/0.3626, allocations: 1.349 MB / 0.7216 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007735/0.3634, allocations: 75.3 kB / 0.7216 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03429/0.3977, allocations: 13.17 MB / 0.7345 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007552/0.3985, allocations: 1.029 MB / 0.7355 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004128/0.3989, allocations: 93.62 kB / 0.7356 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/0.3995, allocations: 367.2 kB / 0.7359 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.3995, allocations: 0 / 0.7359 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06661/0.4661, allocations: 29.76 MB / 0.765 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.45, allocations: 13.61 kB / 0.765 GB, free: 4.812 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)