Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.1284/0.1284, allocations: 12.59 MB / 28.22 MB, free: 0.7578 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.001543/0.001543, allocations: 111.4 kB / 31.84 MB, free: 3.883 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.982/1.982, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001627/0.001627, allocations: 187.8 kB / 290.7 MB, free: 10.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4294/0.4294, allocations: 78.51 MB / 419.3 MB, free: 10.75 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.002761/0.002761, allocations: 147.8 kB / 0.5554 GB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1178, allocations: 68.11 MB / 0.6219 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.006326/0.1241, allocations: 5.293 MB / 0.6271 GB, free: 8.441 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.1278, allocations: 1.607 MB / 0.6287 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008698/0.1288, allocations: 8 kB / 0.6287 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.1294, allocations: 182.4 kB / 0.6288 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.1315, allocations: 0.6443 MB / 0.6295 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1327, allocations: 0.5027 MB / 0.63 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.1343, allocations: 1.074 MB / 0.631 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004828/0.1348, allocations: 258.5 kB / 0.6312 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007506/0.1355, allocations: 470 kB / 0.6317 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008817/0.1364, allocations: 0.5951 MB / 0.6323 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.1367, allocations: 83.94 kB / 0.6324 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005746/0.1373, allocations: 207.9 kB / 0.6326 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.1375, allocations: 235 kB / 0.6328 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.1381, allocations: 0.4931 MB / 0.6333 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.1397, allocations: 1.231 MB / 0.6345 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1397, allocations: 0 / 0.6345 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1397, allocations: 0 / 0.6345 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.903e-05/0.1397, allocations: 0 / 0.6345 GB, free: 0.8477 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.007556/0.1473, allocations: 2.131 MB / 0.6365 GB, free: 14.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1474, allocations: 15.98 kB / 0.6366 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.1476, allocations: 106.7 kB / 0.6367 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004336/0.1519, allocations: 0.6429 MB / 0.6373 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.1531, allocations: 0.6504 MB / 0.6379 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.1533, allocations: 172.1 kB / 0.6381 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.1535, allocations: 60 kB / 0.6381 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.1554, allocations: 0.8613 MB / 0.639 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1555, allocations: 0 / 0.639 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.1556, allocations: 24 kB / 0.639 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.1556, allocations: 23.94 kB / 0.639 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.1577, allocations: 0.8873 MB / 0.6399 GB, free: 11.14 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.004452/0.1622, allocations: 2.412 MB / 0.6423 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.1638, allocations: 1.028 MB / 0.6433 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.1651, allocations: 0.6293 MB / 0.6439 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.1653, allocations: 12.64 kB / 0.6439 GB, free: 6.875 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1653, allocations: 43.22 kB / 0.6439 GB, free: 6.824 MB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 3.577e-06/0.1653, allocations: 0 / 0.6439 GB, free: 6.824 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.02248/0.1878, allocations: 5.55 MB / 0.6493 GB, free: 1.238 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1879, allocations: 60.06 kB / 0.6494 GB, free: 1.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1889, allocations: 0.759 MB / 0.6501 GB, free: 412 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.1891, allocations: 41.7 kB / 0.6502 GB, free: 364 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.1894, allocations: 396.8 kB / 0.6506 GB, free: 15.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.1897, allocations: 276.1 kB / 0.6508 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003832/0.1901, allocations: 178.5 kB / 0.651 GB, free: 15.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1902, allocations: 345.9 kB / 0.6513 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.1916, allocations: 0.5954 MB / 0.6519 GB, free: 14.56 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.1929, allocations: 0.7046 MB / 0.6526 GB, free: 13.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.1957, allocations: 1.311 MB / 0.6539 GB, free: 12.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.1957, allocations: 4 kB / 0.6539 GB, free: 12.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01129/0.207, allocations: 3.493 MB / 0.6573 GB, free: 8.988 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.207, allocations: 4 kB / 0.6573 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.2071, allocations: 4 kB / 0.6573 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005177/0.2122, allocations: 1.446 MB / 0.6587 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009216/0.2132, allocations: 183.6 kB / 0.6589 GB, free: 7.352 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/0.2309, allocations: 7.798 MB / 0.6665 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.2322, allocations: 135.1 kB / 0.6666 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/0.2323, allocations: 35.98 kB / 0.6667 GB, free: 15.23 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.0003867/0.2326, allocations: 229.5 kB / 0.6669 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.2328, allocations: 98.78 kB / 0.667 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.2438, allocations: 3.215 MB / 0.6701 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.2439, allocations: 8 kB / 0.6701 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2439, allocations: 0 / 0.6701 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.2439, allocations: 11.97 kB / 0.6701 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.2566, allocations: 4.542 MB / 0.6746 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.2567, allocations: 0 / 0.6746 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.2573, allocations: 99.88 kB / 0.6747 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/0.2625, allocations: 1.406 MB / 0.676 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.2626, allocations: 12 kB / 0.6761 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2493/0.5119, allocations: 6.727 MB / 0.6826 GB, free: 53.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.512, allocations: 0.5 kB / 0.6826 GB, free: 53.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.5258, allocations: 4.048 MB / 0.6866 GB, free: 53.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.5262, allocations: 178.5 kB / 0.6867 GB, free: 53.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.5264, allocations: 15.59 kB / 0.6868 GB, free: 53.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009408/0.5273, allocations: 78.3 kB / 0.6868 GB, free: 53.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005758/0.5279, allocations: 162.5 kB / 0.687 GB, free: 53.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.528, allocations: 28.94 kB / 0.687 GB, free: 53.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006877/0.5287, allocations: 0.5147 MB / 0.6875 GB, free: 53.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5287, allocations: 0.9375 kB / 0.6875 GB, free: 53.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001139/0.5298, allocations: 351.6 kB / 0.6879 GB, free: 53.17 MB / 494.1 MB 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.01386/0.5437, allocations: 4.624 MB / 0.6924 GB, free: 51.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006142/0.5499, allocations: 2.042 MB / 0.6944 GB, free: 50.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5499, allocations: 0 / 0.6944 GB, free: 50.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004033/0.554, allocations: 1.293 MB / 0.6956 GB, free: 50.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007666/0.5548, allocations: 81.17 kB / 0.6957 GB, free: 50.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/0.5854, allocations: 12.68 MB / 0.7081 GB, free: 45.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.5859, allocations: 1.013 MB / 0.7091 GB, free: 44.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004204/0.5863, allocations: 91.55 kB / 0.7092 GB, free: 44.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.5867, allocations: 342.6 kB / 0.7095 GB, free: 44.23 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5867, allocations: 0 / 0.7095 GB, free: 44.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.94/4.527, allocations: 28.59 MB / 0.7374 GB, free: 17.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.54/27.06, allocations: 8 kB / 0.7374 GB, free: 17.76 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)