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.0935/0.0935, 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.001073/0.001073, allocations: 111.4 kB / 31.84 MB, free: 3.902 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.338/1.338, 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.001369/0.00137, allocations: 192.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4479/0.4479, allocations: 78.51 MB / 419.3 MB, free: 11.27 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.002748/0.002748, allocations: 134.6 kB / 0.5554 GB, free: 28.84 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09993, 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.005603/0.1056, allocations: 5.413 MB / 0.6272 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.1083, allocations: 1.615 MB / 0.6288 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004712/0.1088, allocations: 8 kB / 0.6288 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.1093, allocations: 178.4 kB / 0.629 GB, free: 8.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.1108, allocations: 0.668 MB / 0.6296 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000953/0.1118, allocations: 0.4949 MB / 0.6301 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.1128, allocations: 1.105 MB / 0.6312 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/0.1132, allocations: 270.8 kB / 0.6314 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.1137, allocations: 485.8 kB / 0.6319 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005689/0.1143, allocations: 0.6106 MB / 0.6325 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1144, allocations: 88 kB / 0.6326 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.1147, allocations: 215.8 kB / 0.6328 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.1149, allocations: 243 kB / 0.633 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.1153, allocations: 0.5164 MB / 0.6335 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.1164, allocations: 1.276 MB / 0.6348 GB, free: 2.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1164, allocations: 0 / 0.6348 GB, free: 2.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1164, allocations: 0 / 0.6348 GB, free: 2.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1164, allocations: 0 / 0.6348 GB, free: 2.688 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.006004/0.1224, allocations: 2.204 MB / 0.6369 GB, free: 440 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1224, allocations: 15.98 kB / 0.6369 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.1226, allocations: 110.7 kB / 0.637 GB, free: 304 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003788/0.1264, allocations: 0.6551 MB / 0.6377 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.1271, allocations: 0.6667 MB / 0.6383 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.1273, allocations: 176.1 kB / 0.6385 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.1274, allocations: 64 kB / 0.6386 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.129, allocations: 0.877 MB / 0.6394 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1291, allocations: 0 / 0.6394 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.138e-05/0.1291, allocations: 24 kB / 0.6394 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.1292, allocations: 19.94 kB / 0.6395 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.131, 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.003621/0.1346, allocations: 2.479 MB / 0.6428 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.1364, allocations: 1.127 MB / 0.6439 GB, free: 9.027 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.1376, allocations: 0.6654 MB / 0.6445 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.734e-05/0.1377, allocations: 12.94 kB / 0.6445 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1377, allocations: 39.56 kB / 0.6446 GB, free: 8.297 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 1.914e-06/0.1377, allocations: 0 / 0.6446 GB, free: 8.297 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02052/0.1583, allocations: 5.537 MB / 0.65 GB, free: 2.727 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.1583, allocations: 60.41 kB / 0.65 GB, free: 2.656 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008607/0.1592, allocations: 0.7592 MB / 0.6508 GB, free: 1.891 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.755e-05/0.1593, allocations: 41.7 kB / 0.6508 GB, free: 1.844 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.1597, allocations: 401.2 kB / 0.6512 GB, free: 1.445 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.16, allocations: 313.3 kB / 0.6515 GB, free: 1.137 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.1604, allocations: 182.9 kB / 0.6517 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1607, allocations: 349.9 kB / 0.652 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.1622, allocations: 0.6233 MB / 0.6526 GB, free: 15.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.1638, allocations: 0.731 MB / 0.6533 GB, free: 15.22 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0171/0.1809, allocations: 4.217 MB / 0.6575 GB, free: 10.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1809, allocations: 8 kB / 0.6575 GB, free: 10.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01173/0.1926, allocations: 3.587 MB / 0.661 GB, free: 7.367 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1927, allocations: 8 kB / 0.661 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1927, allocations: 0 / 0.661 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005694/0.1984, allocations: 1.511 MB / 0.6625 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009476/0.1994, allocations: 187.6 kB / 0.6626 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.2195, allocations: 8.154 MB / 0.6706 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.2208, allocations: 143.5 kB / 0.6707 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.221, allocations: 35.98 kB / 0.6708 GB, free: 13.18 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.0005145/0.2216, allocations: 234 kB / 0.671 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.2218, allocations: 103.3 kB / 0.6711 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.2336, allocations: 3.399 MB / 0.6744 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.2336, allocations: 15.94 kB / 0.6744 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2336, allocations: 0 / 0.6744 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.2337, allocations: 7.969 kB / 0.6744 GB, free: 9.402 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.01371/0.2474, allocations: 4.777 MB / 0.6791 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.2474, allocations: 0 / 0.6791 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.248, allocations: 95.88 kB / 0.6792 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005858/0.2539, allocations: 1.534 MB / 0.6807 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.254, allocations: 12 kB / 0.6807 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.2715, allocations: 7.358 MB / 0.6879 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2716, allocations: 7.938 kB / 0.6879 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/0.2852, allocations: 4.272 MB / 0.6921 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.2855, allocations: 188.2 kB / 0.6922 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.2857, allocations: 16 kB / 0.6923 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009502/0.2867, allocations: 95.83 kB / 0.6923 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005743/0.2872, allocations: 168.5 kB / 0.6925 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-05/0.2873, allocations: 23.98 kB / 0.6925 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007167/0.2881, allocations: 0.5146 MB / 0.693 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2881, allocations: 0 / 0.693 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001143/0.2892, allocations: 375.8 kB / 0.6934 GB, free: 5.68 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.01388/0.3031, allocations: 4.859 MB / 0.6981 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005907/0.309, allocations: 2.132 MB / 0.7002 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3091, allocations: 0 / 0.7002 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004093/0.3132, allocations: 1.357 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.000802/0.314, allocations: 83.14 kB / 0.7016 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2612/0.5752, allocations: 13.16 MB / 0.7145 GB, free: 87.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.5759, allocations: 1.026 MB / 0.7155 GB, free: 86.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004452/0.5763, allocations: 91 kB / 0.7156 GB, free: 86.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.5768, allocations: 364.4 kB / 0.7159 GB, free: 86.71 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.5768, allocations: 0 / 0.7159 GB, free: 86.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/0.6841, allocations: 29.76 MB / 0.745 GB, free: 74.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/15.77, allocations: 6.875 kB / 0.745 GB, free: 74.18 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)