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.08716/0.08716, allocations: 12.59 MB / 28.23 MB, free: 1.051 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.001096/0.001096, allocations: 115.4 kB / 31.84 MB, free: 3.988 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.296/1.296, 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.00144/0.00144, allocations: 184.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.433/0.433, allocations: 78.52 MB / 419.3 MB, free: 11.21 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.002551/0.002552, allocations: 143.2 kB / 0.5554 GB, free: 28.89 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1241, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.007514/0.1317, allocations: 5.398 MB / 0.6272 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.1355, allocations: 1.611 MB / 0.6288 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.1364, allocations: 8 kB / 0.6288 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000781/0.1372, allocations: 178.4 kB / 0.6289 GB, free: 8.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.1396, allocations: 0.6911 MB / 0.6296 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1409, allocations: 0.4899 MB / 0.6301 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.1427, allocations: 1.098 MB / 0.6312 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005716/0.1433, allocations: 274.8 kB / 0.6314 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008762/0.1441, allocations: 470 kB / 0.6319 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.1452, allocations: 0.6223 MB / 0.6325 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003399/0.1455, allocations: 84 kB / 0.6326 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007341/0.1463, allocations: 219.9 kB / 0.6328 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.1467, allocations: 243 kB / 0.633 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007888/0.1475, allocations: 0.5086 MB / 0.6335 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.1496, allocations: 1.276 MB / 0.6348 GB, free: 2.703 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.1496, allocations: 4 kB / 0.6348 GB, free: 2.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1497, allocations: 4 kB / 0.6348 GB, free: 2.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.53e-05/0.1497, allocations: 3.938 kB / 0.6348 GB, free: 2.691 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.007885/0.1576, allocations: 2.208 MB / 0.6369 GB, free: 440 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1577, allocations: 11.98 kB / 0.6369 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.1578, allocations: 102.7 kB / 0.637 GB, free: 316 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.1623, allocations: 0.6552 MB / 0.6377 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.1636, allocations: 0.6667 MB / 0.6383 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.1638, allocations: 184.1 kB / 0.6385 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.1639, allocations: 64 kB / 0.6386 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.1659, allocations: 0.8809 MB / 0.6394 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1659, allocations: 0 / 0.6394 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.166, allocations: 24 kB / 0.6394 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.166, allocations: 19.94 kB / 0.6395 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.168, allocations: 0.9264 MB / 0.6404 GB, free: 12.82 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.0044/0.1724, allocations: 2.464 MB / 0.6428 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.1745, allocations: 1.131 MB / 0.6439 GB, free: 9.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.1759, allocations: 0.6615 MB / 0.6445 GB, free: 8.371 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-05/0.176, allocations: 12.98 kB / 0.6445 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.176, allocations: 47.56 kB / 0.6446 GB, free: 8.305 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.454e-06/0.176, allocations: 0 / 0.6446 GB, free: 8.305 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02319/0.1992, allocations: 5.525 MB / 0.65 GB, free: 2.746 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.1993, allocations: 60.41 kB / 0.65 GB, free: 2.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.2005, allocations: 0.7709 MB / 0.6508 GB, free: 1.898 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002383/0.2007, allocations: 33.7 kB / 0.6508 GB, free: 1.859 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.201, allocations: 413.2 kB / 0.6512 GB, free: 1.449 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.2014, allocations: 313.3 kB / 0.6515 GB, free: 1.141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.2018, allocations: 186.9 kB / 0.6517 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2019, allocations: 345.9 kB / 0.652 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.2034, allocations: 0.6233 MB / 0.6526 GB, free: 15.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.2049, allocations: 0.731 MB / 0.6533 GB, free: 15.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01807/0.2229, allocations: 4.21 MB / 0.6575 GB, free: 10.99 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.223, allocations: 0 / 0.6575 GB, free: 10.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01186/0.2349, allocations: 3.591 MB / 0.661 GB, free: 7.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.2349, allocations: 4 kB / 0.661 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.2349, allocations: 4 kB / 0.661 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006041/0.241, allocations: 1.515 MB / 0.6624 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.2421, allocations: 187.7 kB / 0.6626 GB, free: 5.672 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/0.2616, allocations: 8.153 MB / 0.6706 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.2631, allocations: 143.5 kB / 0.6707 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.2632, allocations: 35.98 kB / 0.6708 GB, free: 13.19 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.0004503/0.2636, allocations: 242 kB / 0.671 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.2638, allocations: 99.34 kB / 0.6711 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.2754, allocations: 3.395 MB / 0.6744 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.2754, allocations: 15.94 kB / 0.6744 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2755, allocations: 7.938 kB / 0.6744 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.2755, allocations: 3.984 kB / 0.6744 GB, free: 9.41 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.0135/0.289, allocations: 4.769 MB / 0.6791 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.289, allocations: 3.938 kB / 0.6791 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.2897, allocations: 99.88 kB / 0.6792 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00581/0.2955, allocations: 1.53 MB / 0.6807 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.2956, allocations: 16 kB / 0.6807 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/0.3129, allocations: 7.355 MB / 0.6879 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3129, allocations: 0 / 0.6879 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.3266, allocations: 4.284 MB / 0.6921 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.327, allocations: 188.3 kB / 0.6922 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.3271, allocations: 19.98 kB / 0.6923 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008981/0.3281, allocations: 79.84 kB / 0.6923 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005275/0.3286, allocations: 176.5 kB / 0.6925 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.3287, allocations: 24 kB / 0.6925 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006205/0.3293, allocations: 0.5146 MB / 0.693 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3293, allocations: 3.938 kB / 0.693 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001056/0.3304, allocations: 379.7 kB / 0.6934 GB, free: 5.688 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.01439/0.3448, allocations: 4.855 MB / 0.6981 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006033/0.3508, allocations: 2.136 MB / 0.7002 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3509, allocations: 0 / 0.7002 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004109/0.355, allocations: 1.361 MB / 0.7015 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007454/0.3558, allocations: 78.91 kB / 0.7016 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2691/0.6248, allocations: 13.15 MB / 0.7145 GB, free: 87.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.6254, allocations: 1.02 MB / 0.7155 GB, free: 86.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004086/0.6258, allocations: 93.38 kB / 0.7155 GB, free: 86.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.6263, allocations: 365 kB / 0.7159 GB, free: 86.68 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.6263, allocations: 1.031 kB / 0.7159 GB, free: 86.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06451/0.6908, allocations: 29.76 MB / 0.745 GB, free: 74.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.49, allocations: 11.75 kB / 0.745 GB, free: 74.25 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)