Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",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.007138/0.007138, allocations: 103.7 kB / 15.74 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 239.4 MB, free: 4.453 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.001412/0.001412, allocations: 188.5 kB / 289.7 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5024/0.5024, allocations: 91.91 MB / 431.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 79.69 kB / 0.5723 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1208, allocations: 71.29 MB / 0.6419 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006033/0.1269, allocations: 6.394 MB / 0.6481 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.13, allocations: 1.857 MB / 0.6499 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.1304, allocations: 12 kB / 0.6499 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004458/0.1308, allocations: 222 kB / 0.6502 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.1323, allocations: 0.7553 MB / 0.6509 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1334, allocations: 0.6058 MB / 0.6515 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.1346, allocations: 1.398 MB / 0.6528 GB, free: 8.758 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.135, allocations: 335.1 kB / 0.6532 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005384/0.1356, allocations: 0.5833 MB / 0.6537 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000655/0.1362, allocations: 0.7271 MB / 0.6544 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.1364, allocations: 100 kB / 0.6545 GB, free: 7.004 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.1367, allocations: 231.9 kB / 0.6548 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.1369, allocations: 278.8 kB / 0.655 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.1374, allocations: 0.6252 MB / 0.6556 GB, free: 5.875 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.1386, allocations: 1.499 MB / 0.6571 GB, free: 4.371 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1386, allocations: 4 kB / 0.6571 GB, free: 4.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1386, allocations: 4 kB / 0.6571 GB, free: 4.363 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1386, allocations: 0 / 0.6571 GB, free: 4.363 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006848/0.1455, allocations: 2.542 MB / 0.6596 GB, free: 1.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1455, allocations: 8.031 kB / 0.6596 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.1457, allocations: 126.8 kB / 0.6597 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004439/0.1501, allocations: 0.7749 MB / 0.6605 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.1512, allocations: 0.7683 MB / 0.6612 GB, free: 28 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.1514, allocations: 256.2 kB / 0.6615 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.1516, allocations: 76 kB / 0.6615 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.1536, allocations: 1.081 MB / 0.6626 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1536, allocations: 0 / 0.6626 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/0.1537, allocations: 35.98 kB / 0.6626 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.1537, allocations: 16 kB / 0.6626 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.1559, allocations: 1.124 MB / 0.6637 GB, free: 13.4 MB / 478.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.004898/0.1608, allocations: 3.42 MB / 0.6671 GB, free: 9.828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.1627, allocations: 1.406 MB / 0.6685 GB, free: 8.301 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.1641, allocations: 0.785 MB / 0.6692 GB, free: 7.512 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.1642, allocations: 20.92 kB / 0.6692 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1643, allocations: 43.56 kB / 0.6693 GB, free: 7.441 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.274e-06/0.1643, allocations: 0 / 0.6693 GB, free: 7.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02228/0.1866, allocations: 6.742 MB / 0.6759 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.1867, allocations: 68.41 kB / 0.6759 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.1879, allocations: 0.8876 MB / 0.6768 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.1881, allocations: 45.7 kB / 0.6768 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.1885, allocations: 496.7 kB / 0.6773 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.1888, allocations: 339.1 kB / 0.6776 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/0.1892, allocations: 194.8 kB / 0.6778 GB, free: 14.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1893, allocations: 349.9 kB / 0.6782 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.1907, allocations: 0.717 MB / 0.6789 GB, free: 13.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.1923, allocations: 0.8345 MB / 0.6797 GB, free: 12.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01632/0.2086, allocations: 4.791 MB / 0.6844 GB, free: 7.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2087, allocations: 0 / 0.6844 GB, free: 7.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01161/0.2203, allocations: 4.249 MB / 0.6885 GB, free: 3.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.2204, allocations: 11.94 kB / 0.6885 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2204, allocations: 0 / 0.6885 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005324/0.2257, allocations: 1.862 MB / 0.6903 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.2267, allocations: 215.6 kB / 0.6905 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/0.2453, allocations: 9.071 MB / 0.6994 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.2467, allocations: 178.9 kB / 0.6996 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.2468, allocations: 35.98 kB / 0.6996 GB, free: 8.062 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (108): * Single equations (assignments): 107 * 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 {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004766/0.2473, allocations: 253.6 kB / 0.6998 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.2475, allocations: 118.5 kB / 0.7 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.259, allocations: 3.994 MB / 0.7039 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.259, allocations: 8 kB / 0.7039 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.259, allocations: 11.94 kB / 0.7039 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.2591, allocations: 3.984 kB / 0.7039 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.2719, allocations: 5.618 MB / 0.7094 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.272, allocations: 4 kB / 0.7094 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.2726, allocations: 123.9 kB / 0.7095 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00513/0.2777, allocations: 1.745 MB / 0.7112 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.746e-05/0.2778, allocations: 19.98 kB / 0.7112 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/0.2939, allocations: 8.072 MB / 0.7191 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2939, allocations: 0 / 0.7191 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/0.3072, allocations: 4.968 MB / 0.724 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.3075, allocations: 199.4 kB / 0.7241 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.3077, allocations: 20.06 kB / 0.7242 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008577/0.3085, allocations: 107.9 kB / 0.7243 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006811/0.3092, allocations: 220.6 kB / 0.7245 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/0.3093, allocations: 31.98 kB / 0.7245 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006595/0.31, allocations: 0.5887 MB / 0.7251 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.31, allocations: 0 / 0.7251 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001068/0.311, allocations: 427.5 kB / 0.7255 GB, free: 13.19 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01316/0.3242, allocations: 5.541 MB / 0.7309 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005841/0.3301, allocations: 2.468 MB / 0.7333 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3301, allocations: 0 / 0.7333 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004021/0.3341, allocations: 1.605 MB / 0.7349 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.3349, allocations: 81.83 kB / 0.735 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03257/0.3675, allocations: 15.11 MB / 0.7497 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/0.3681, allocations: 1.092 MB / 0.7508 GB, free: 2.996 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003662/0.3685, allocations: 86.67 kB / 0.7509 GB, free: 2.906 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.369, allocations: 447.3 kB / 0.7513 GB, free: 2.469 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.369, allocations: 0 / 0.7513 GB, free: 2.469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3489/0.7179, allocations: 33.27 MB / 0.7838 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/17.22, allocations: 8.016 kB / 0.7838 GB, free: 117.4 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)