Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07454/0.07454, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 111.4 kB / 31.84 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 191.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4096/0.4096, allocations: 78.51 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003683/0.003683, allocations: 139.6 kB / 0.5554 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1118, allocations: 68.14 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.006259/0.1181, allocations: 5.409 MB / 0.6272 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.1208, allocations: 1.607 MB / 0.6288 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.1211, allocations: 8 kB / 0.6288 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.1215, allocations: 178.4 kB / 0.629 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.1228, allocations: 0.6406 MB / 0.6296 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009422/0.1238, allocations: 0.5062 MB / 0.6301 GB, free: 7.527 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.1249, allocations: 1.098 MB / 0.6311 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.1253, allocations: 258.8 kB / 0.6314 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005201/0.1258, allocations: 478 kB / 0.6319 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000734/0.1266, allocations: 0.6223 MB / 0.6325 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1267, allocations: 84 kB / 0.6325 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.1271, allocations: 219.9 kB / 0.6327 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.1274, allocations: 239 kB / 0.633 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004511/0.1278, allocations: 0.5047 MB / 0.6335 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.1292, allocations: 1.284 MB / 0.6347 GB, free: 2.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1292, allocations: 0 / 0.6347 GB, free: 2.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1292, allocations: 0 / 0.6347 GB, free: 2.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.1292, allocations: 4 kB / 0.6347 GB, free: 2.734 MB / 446.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.006725/0.1359, allocations: 2.204 MB / 0.6369 GB, free: 488 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.136, allocations: 15.98 kB / 0.6369 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.1361, allocations: 102.7 kB / 0.637 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003972/0.1401, allocations: 0.659 MB / 0.6376 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.141, allocations: 0.6628 MB / 0.6383 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.1412, allocations: 176.1 kB / 0.6385 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.1414, allocations: 72 kB / 0.6385 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.1434, allocations: 0.8808 MB / 0.6394 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1434, allocations: 4 kB / 0.6394 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.1435, allocations: 28 kB / 0.6394 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.1436, allocations: 15.94 kB / 0.6394 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.1457, allocations: 0.9264 MB / 0.6403 GB, free: 12.86 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.004054/0.1497, allocations: 2.467 MB / 0.6427 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.1518, allocations: 1.124 MB / 0.6438 GB, free: 9.078 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.1531, allocations: 0.6654 MB / 0.6445 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.777e-05/0.1532, allocations: 12.98 kB / 0.6445 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1533, allocations: 47.56 kB / 0.6445 GB, free: 8.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.275e-06/0.1533, allocations: 0 / 0.6445 GB, free: 8.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02215/0.1754, allocations: 5.529 MB / 0.6499 GB, free: 2.777 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.1755, allocations: 60.41 kB / 0.65 GB, free: 2.707 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.1766, allocations: 0.7631 MB / 0.6507 GB, free: 1.938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.1768, allocations: 45.7 kB / 0.6508 GB, free: 1.887 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.1771, allocations: 405.2 kB / 0.6512 GB, free: 1.484 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.1775, allocations: 313.3 kB / 0.6515 GB, free: 1.176 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.1778, allocations: 186.9 kB / 0.6517 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.178, allocations: 345.9 kB / 0.652 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.1794, allocations: 0.6155 MB / 0.6526 GB, free: 28 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.1809, allocations: 0.7349 MB / 0.6533 GB, free: 15.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/0.1977, allocations: 4.214 MB / 0.6574 GB, free: 11.03 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1977, allocations: 0 / 0.6574 GB, free: 11.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01184/0.2096, allocations: 3.591 MB / 0.6609 GB, free: 7.418 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.2096, allocations: 8 kB / 0.6609 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2097, allocations: 0 / 0.6609 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005638/0.2153, allocations: 1.515 MB / 0.6624 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009217/0.2162, allocations: 191.7 kB / 0.6626 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.2353, allocations: 8.151 MB / 0.6706 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.2366, allocations: 147.5 kB / 0.6707 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.2367, allocations: 39.98 kB / 0.6707 GB, free: 13.22 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.0004377/0.2372, allocations: 233.5 kB / 0.671 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.2373, allocations: 103.3 kB / 0.6711 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.2489, allocations: 3.399 MB / 0.6744 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.2489, allocations: 11.94 kB / 0.6744 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2489, allocations: 0 / 0.6744 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.2489, allocations: 7.984 kB / 0.6744 GB, free: 9.449 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.01343/0.2624, allocations: 4.777 MB / 0.6791 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.2624, allocations: 0 / 0.6791 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.263, allocations: 99.88 kB / 0.6792 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00568/0.2687, allocations: 1.53 MB / 0.6806 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.2688, allocations: 20 kB / 0.6807 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/0.286, allocations: 7.355 MB / 0.6878 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2861, allocations: 0 / 0.6878 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.2997, allocations: 4.276 MB / 0.692 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.3, allocations: 196.2 kB / 0.6922 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.3002, allocations: 12 kB / 0.6922 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008777/0.301, allocations: 87.83 kB / 0.6923 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006064/0.3017, allocations: 180.5 kB / 0.6925 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.3017, allocations: 20 kB / 0.6925 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007139/0.3025, allocations: 0.5185 MB / 0.693 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3025, allocations: 0 / 0.693 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001052/0.3035, allocations: 375.8 kB / 0.6934 GB, free: 5.719 MB / 0.4981 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.01395/0.3175, allocations: 4.855 MB / 0.6981 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005811/0.3233, allocations: 2.124 MB / 0.7002 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3234, allocations: 4 kB / 0.7002 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004071/0.3274, allocations: 1.353 MB / 0.7015 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000876/0.3283, allocations: 79 kB / 0.7016 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2414/0.5698, allocations: 13.16 MB / 0.7144 GB, free: 87.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.5704, allocations: 1.024 MB / 0.7154 GB, free: 86.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003908/0.5708, allocations: 95.61 kB / 0.7155 GB, free: 86.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.5712, allocations: 363.9 kB / 0.7159 GB, free: 86.61 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.5712, allocations: 0 / 0.7159 GB, free: 86.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05941/0.6306, allocations: 29.76 MB / 0.7449 GB, free: 74.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.72, allocations: 6.719 kB / 0.7449 GB, free: 74.16 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)