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.006922/0.006923, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.327/1.327, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001387/0.001387, allocations: 188.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4784/0.4784, allocations: 91.9 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 79.38 kB / 0.5723 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1195, allocations: 71.29 MB / 0.6419 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.005587/0.1252, allocations: 5.374 MB / 0.6471 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.1281, allocations: 1.649 MB / 0.6487 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/0.1285, allocations: 8 kB / 0.6487 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.1289, allocations: 182.4 kB / 0.6489 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.1303, allocations: 0.6788 MB / 0.6496 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009439/0.1313, allocations: 0.4961 MB / 0.6501 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009949/0.1323, allocations: 1.102 MB / 0.6511 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.1326, allocations: 266.5 kB / 0.6514 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.1331, allocations: 473.9 kB / 0.6518 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006033/0.1337, allocations: 0.6145 MB / 0.6524 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.1338, allocations: 88 kB / 0.6525 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.1342, allocations: 219.8 kB / 0.6527 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1344, allocations: 247 kB / 0.653 GB, free: 8.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.1348, allocations: 0.5048 MB / 0.6535 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.1359, allocations: 1.276 MB / 0.6547 GB, free: 6.875 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1359, allocations: 0 / 0.6547 GB, free: 6.875 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1359, allocations: 3.938 kB / 0.6547 GB, free: 6.871 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1359, allocations: 0 / 0.6547 GB, free: 6.871 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.006105/0.142, allocations: 2.181 MB / 0.6568 GB, free: 4.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1421, allocations: 12.03 kB / 0.6569 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.1422, allocations: 102.7 kB / 0.6569 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.146, allocations: 0.6468 MB / 0.6576 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.1469, allocations: 0.6543 MB / 0.6582 GB, free: 3.172 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.1471, allocations: 172.1 kB / 0.6584 GB, free: 2.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.1472, allocations: 71.91 kB / 0.6585 GB, free: 2.906 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.1489, allocations: 0.8809 MB / 0.6593 GB, free: 2.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1489, allocations: 0 / 0.6593 GB, free: 2.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.149, allocations: 28 kB / 0.6593 GB, free: 1.992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.149, allocations: 15.94 kB / 0.6594 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.1508, allocations: 0.9264 MB / 0.6603 GB, free: 1.051 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.003803/0.1546, allocations: 2.455 MB / 0.6627 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.1564, allocations: 1.129 MB / 0.6638 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.1575, allocations: 0.664 MB / 0.6644 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-05/0.1576, allocations: 9 kB / 0.6644 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1577, allocations: 43.56 kB / 0.6645 GB, free: 12.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.304e-06/0.1577, allocations: 0 / 0.6645 GB, free: 12.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.01949/0.1772, allocations: 5.529 MB / 0.6699 GB, free: 6.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1773, allocations: 60.41 kB / 0.6699 GB, free: 6.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/0.1782, allocations: 0.7631 MB / 0.6707 GB, free: 6.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.1783, allocations: 41.7 kB / 0.6707 GB, free: 6.086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.1786, allocations: 404.8 kB / 0.6711 GB, free: 5.684 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.1789, allocations: 291.7 kB / 0.6714 GB, free: 5.395 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.1792, allocations: 186.8 kB / 0.6715 GB, free: 5.207 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1793, allocations: 349.9 kB / 0.6719 GB, free: 4.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.1806, allocations: 0.6155 MB / 0.6725 GB, free: 4.242 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.1819, allocations: 0.7388 MB / 0.6732 GB, free: 3.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01544/0.1973, allocations: 4.217 MB / 0.6773 GB, free: 15.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1974, allocations: 3.938 kB / 0.6773 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01033/0.2077, allocations: 3.583 MB / 0.6808 GB, free: 11.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.2078, allocations: 8 kB / 0.6808 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2078, allocations: 0 / 0.6808 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005017/0.2128, allocations: 1.507 MB / 0.6823 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009389/0.2138, allocations: 187.7 kB / 0.6825 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/0.2309, allocations: 8.147 MB / 0.6904 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.2323, allocations: 151.1 kB / 0.6906 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.2326, allocations: 35.98 kB / 0.6906 GB, free: 1.457 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.0005911/0.2332, allocations: 240.4 kB / 0.6908 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.2334, allocations: 102.8 kB / 0.6909 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.2438, allocations: 3.399 MB / 0.6943 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.2438, allocations: 11.94 kB / 0.6943 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2439, allocations: 4 kB / 0.6943 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.2439, allocations: 3.984 kB / 0.6943 GB, free: 13.68 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.01218/0.2561, allocations: 4.773 MB / 0.6989 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.2561, allocations: 0 / 0.6989 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.2567, allocations: 95.88 kB / 0.699 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005157/0.2618, allocations: 1.53 MB / 0.7005 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.262, allocations: 20 kB / 0.7005 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/0.2772, allocations: 7.337 MB / 0.7077 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2773, allocations: 4 kB / 0.7077 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/0.289, allocations: 4.272 MB / 0.7119 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.2893, allocations: 175.8 kB / 0.7121 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.2895, allocations: 19.98 kB / 0.7121 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/0.2904, allocations: 91.84 kB / 0.7122 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005528/0.291, allocations: 172.5 kB / 0.7123 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/0.291, allocations: 20 kB / 0.7123 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006804/0.2917, allocations: 0.5146 MB / 0.7128 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2917, allocations: 4 kB / 0.7128 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001156/0.2929, allocations: 379.6 kB / 0.7132 GB, free: 9.984 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.01216/0.3051, allocations: 4.847 MB / 0.7179 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005267/0.3104, allocations: 2.132 MB / 0.72 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3104, allocations: 4 kB / 0.72 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00357/0.314, allocations: 1.345 MB / 0.7213 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.3149, allocations: 71.31 kB / 0.7214 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03028/0.3452, allocations: 13.15 MB / 0.7342 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.3459, allocations: 1.021 MB / 0.7352 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000375/0.3463, allocations: 85.64 kB / 0.7353 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/0.3468, allocations: 371.3 kB / 0.7357 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.3469, allocations: 0 / 0.7357 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05841/0.4053, allocations: 29.75 MB / 0.7647 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.31, allocations: 13.95 kB / 0.7647 GB, free: 5.078 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)