Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.006902/0.006902, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.26/1.26, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001251/0.001251, allocations: 184.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.479/0.479, allocations: 91.91 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 79.25 kB / 0.5723 GB, free: 33.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 71.28 MB / 0.6419 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005452/0.1254, allocations: 5.279 MB / 0.647 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.1281, allocations: 1.634 MB / 0.6486 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.1284, allocations: 8 kB / 0.6486 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.1289, allocations: 186.4 kB / 0.6488 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.1302, allocations: 0.6668 MB / 0.6495 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009223/0.1311, allocations: 0.5002 MB / 0.6499 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000952/0.1321, allocations: 1.078 MB / 0.651 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.1325, allocations: 266.5 kB / 0.6512 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004527/0.1329, allocations: 470 kB / 0.6517 GB, free: 9.977 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005885/0.1335, allocations: 0.5873 MB / 0.6523 GB, free: 9.387 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1336, allocations: 80 kB / 0.6523 GB, free: 9.309 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.134, allocations: 215.8 kB / 0.6526 GB, free: 9.098 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.1342, allocations: 235 kB / 0.6528 GB, free: 8.867 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.1346, allocations: 0.4931 MB / 0.6533 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.1356, allocations: 1.234 MB / 0.6545 GB, free: 7.137 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1357, allocations: 4 kB / 0.6545 GB, free: 7.133 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1357, allocations: 0 / 0.6545 GB, free: 7.133 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.1357, allocations: 0 / 0.6545 GB, free: 7.133 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.005967/0.1417, allocations: 2.123 MB / 0.6565 GB, free: 4.957 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1417, allocations: 12.03 kB / 0.6566 GB, free: 4.945 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.1418, allocations: 106.7 kB / 0.6567 GB, free: 4.832 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/0.1456, allocations: 0.6429 MB / 0.6573 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008882/0.1465, allocations: 0.6543 MB / 0.6579 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.1467, allocations: 176 kB / 0.6581 GB, free: 3.293 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.1468, allocations: 64 kB / 0.6581 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.1484, allocations: 0.8575 MB / 0.659 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1485, allocations: 0 / 0.659 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.1485, allocations: 24 kB / 0.659 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1486, allocations: 19.94 kB / 0.659 GB, free: 2.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.1503, allocations: 0.8873 MB / 0.6599 GB, free: 1.438 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.003804/0.1542, allocations: 2.404 MB / 0.6622 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.1557, allocations: 1.033 MB / 0.6633 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.1569, allocations: 0.6317 MB / 0.6639 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-05/0.157, allocations: 12.64 kB / 0.6639 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.157, allocations: 39.22 kB / 0.6639 GB, free: 13.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=76): time 2.374e-06/0.157, allocations: 3.938 kB / 0.6639 GB, free: 13.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=76): time 0.01997/0.177, allocations: 5.546 MB / 0.6693 GB, free: 7.531 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.1771, allocations: 60.06 kB / 0.6694 GB, free: 7.461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.1781, allocations: 0.7591 MB / 0.6701 GB, free: 6.688 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.1783, allocations: 41.7 kB / 0.6702 GB, free: 6.641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.1786, allocations: 396.5 kB / 0.6706 GB, free: 6.246 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.1789, allocations: 276.1 kB / 0.6708 GB, free: 5.973 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003625/0.1792, allocations: 178.5 kB / 0.671 GB, free: 5.789 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1794, allocations: 345.9 kB / 0.6713 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.1806, allocations: 0.5954 MB / 0.6719 GB, free: 4.852 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.1819, allocations: 0.7085 MB / 0.6726 GB, free: 4.117 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/0.1844, allocations: 1.308 MB / 0.6739 GB, free: 2.781 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.1844, allocations: 4 kB / 0.6739 GB, free: 2.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01006/0.1945, allocations: 3.481 MB / 0.6773 GB, free: 15.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.1945, allocations: 4 kB / 0.6773 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.1946, allocations: 4.188 kB / 0.6773 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00463/0.1992, allocations: 1.454 MB / 0.6787 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008527/0.2001, allocations: 179.6 kB / 0.6789 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/0.2167, allocations: 7.81 MB / 0.6865 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.2179, allocations: 135.2 kB / 0.6866 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/0.2181, allocations: 35.98 kB / 0.6867 GB, free: 5.523 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" 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 (94): * Single equations (assignments): 93 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005082/0.2186, allocations: 224.3 kB / 0.6869 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.2189, allocations: 98.78 kB / 0.687 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009543/0.2284, allocations: 3.215 MB / 0.6901 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2285, allocations: 8 kB / 0.6901 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2285, allocations: 0 / 0.6901 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.2285, allocations: 11.98 kB / 0.6901 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.2396, allocations: 4.542 MB / 0.6946 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.2397, allocations: 7.938 kB / 0.6946 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.2402, allocations: 95.88 kB / 0.6947 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004311/0.2445, allocations: 1.403 MB / 0.696 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/0.2446, allocations: 12 kB / 0.696 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01395/0.2586, allocations: 6.733 MB / 0.7026 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2586, allocations: 0 / 0.7026 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.2697, allocations: 4.05 MB / 0.7066 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.2701, allocations: 175.7 kB / 0.7067 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.2703, allocations: 27.86 kB / 0.7068 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.2712, allocations: 83.91 kB / 0.7068 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/0.2717, allocations: 160.4 kB / 0.707 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.181e-05/0.2718, allocations: 20 kB / 0.707 GB, free: 352 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007182/0.2726, allocations: 0.5107 MB / 0.7075 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2726, allocations: 0 / 0.7075 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001158/0.2737, allocations: 359.6 kB / 0.7079 GB, free: 15.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01142/0.2852, allocations: 4.617 MB / 0.7124 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005337/0.2905, allocations: 2.054 MB / 0.7144 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2905, allocations: 0 / 0.7144 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/0.2941, allocations: 1.288 MB / 0.7156 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007877/0.2949, allocations: 75.31 kB / 0.7157 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02849/0.3234, allocations: 12.69 MB / 0.7281 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/0.324, allocations: 1.013 MB / 0.7291 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003631/0.3244, allocations: 97.45 kB / 0.7292 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.3249, allocations: 343.2 kB / 0.7295 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.3249, allocations: 4 kB / 0.7295 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05625/0.3812, allocations: 27.47 MB / 0.7563 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/13.9, allocations: 3.062 kB / 0.7563 GB, free: 13.7 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)