Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008889/0.000889, allocations: 177.1 kB / 15.42 MB, free: 5.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.8 MB / 239 MB, free: 92 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007356/0.0007356, allocations: 91.78 kB / 289.8 MB, free: 4.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3508/0.3508, allocations: 78.44 MB / 419 MB, free: 44 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 13.12 kB / 498.5 MB, free: 35.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3118, allocations: 68.74 MB / 0.554 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005997/0.3179, allocations: 6.703 MB / 0.5605 GB, free: 5.984 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.3213, allocations: 1.908 MB / 0.5624 GB, free: 4.617 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.322, allocations: 16.03 kB / 0.5624 GB, free: 4.613 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.3225, allocations: 166.2 kB / 0.5625 GB, free: 4.547 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.324, allocations: 0.6308 MB / 0.5632 GB, free: 4.125 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.3252, allocations: 0.5698 MB / 0.5637 GB, free: 3.805 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.3265, allocations: 1.337 MB / 0.565 GB, free: 3.145 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.3269, allocations: 289.1 kB / 0.5653 GB, free: 3.004 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.3275, allocations: 0.505 MB / 0.5658 GB, free: 2.773 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006246/0.3281, allocations: 0.6578 MB / 0.5664 GB, free: 2.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.3283, allocations: 51.66 kB / 0.5665 GB, free: 2.465 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.3287, allocations: 179.5 kB / 0.5667 GB, free: 2.426 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.3289, allocations: 226.1 kB / 0.5669 GB, free: 2.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.3293, allocations: 0.561 MB / 0.5674 GB, free: 1.922 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.3307, allocations: 1.412 MB / 0.5688 GB, free: 1.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3307, allocations: 0 / 0.5688 GB, free: 1.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3307, allocations: 0 / 0.5688 GB, free: 1.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.3307, allocations: 1.438 kB / 0.5688 GB, free: 1.367 MB / 378.7 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.007389/0.3381, allocations: 2.298 MB / 0.571 GB, free: 348 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3382, allocations: 13.62 kB / 0.5711 GB, free: 344 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003104/0.3385, allocations: 131.5 kB / 0.5712 GB, free: 248 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/0.3438, allocations: 0.7732 MB / 0.5719 GB, free: 96 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.3454, allocations: 0.7643 MB / 0.5727 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/0.3458, allocations: 254.3 kB / 0.5729 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.3461, allocations: 79.56 kB / 0.573 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.3491, allocations: 1.076 MB / 0.5741 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.3491, allocations: 3.984 kB / 0.5741 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/0.3492, allocations: 29.66 kB / 0.5741 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.3493, allocations: 18.84 kB / 0.5741 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.352, allocations: 1.122 MB / 0.5752 GB, free: 14.54 MB / 394.7 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.005887/0.3579, allocations: 3.444 MB / 0.5786 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.3599, allocations: 1.408 MB / 0.5799 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.3614, allocations: 0.7838 MB / 0.5807 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.3616, allocations: 15.58 kB / 0.5807 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3616, allocations: 42.44 kB / 0.5808 GB, free: 10.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 2.424e-06/0.3616, allocations: 5.281 kB / 0.5808 GB, free: 10.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.02581/0.3874, allocations: 6.754 MB / 0.5874 GB, free: 7.156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.3875, allocations: 66.06 kB / 0.5874 GB, free: 7.086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.3889, allocations: 0.8841 MB / 0.5883 GB, free: 6.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002891/0.3892, allocations: 45.58 kB / 0.5883 GB, free: 6.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.3896, allocations: 491 kB / 0.5888 GB, free: 6.105 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.39, allocations: 341.7 kB / 0.5891 GB, free: 5.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.3901, allocations: 101.8 kB / 0.5892 GB, free: 5.738 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3903, allocations: 351.6 kB / 0.5896 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.3919, allocations: 0.7141 MB / 0.5903 GB, free: 5.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.3936, allocations: 0.8401 MB / 0.5911 GB, free: 4.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/0.4116, allocations: 4.775 MB / 0.5957 GB, free: 60 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.4116, allocations: 4 kB / 0.5957 GB, free: 56 kB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01357/0.4252, allocations: 4.261 MB / 0.5999 GB, free: 11.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.4252, allocations: 8 kB / 0.5999 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4253, allocations: 4 kB / 0.5999 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005894/0.4312, allocations: 1.862 MB / 0.6017 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4322, allocations: 207.6 kB / 0.6019 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/0.4516, allocations: 8.35 MB / 0.6101 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.4533, allocations: 182.9 kB / 0.6103 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.4535, allocations: 39.92 kB / 0.6103 GB, free: 0.9883 MB / 410.7 MB 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.0006828/0.4542, allocations: 238.1 kB / 0.6105 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.4545, allocations: 122.4 kB / 0.6106 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/0.4673, allocations: 4.006 MB / 0.6146 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.4673, allocations: 11.98 kB / 0.6146 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4673, allocations: 0 / 0.6146 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.4673, allocations: 3.984 kB / 0.6146 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.4825, allocations: 5.621 MB / 0.6201 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4825, allocations: 0 / 0.6201 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/0.4833, allocations: 127.9 kB / 0.6202 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005746/0.489, allocations: 1.741 MB / 0.6219 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/0.4893, allocations: 19.98 kB / 0.6219 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/0.5061, allocations: 7.358 MB / 0.6291 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.5061, allocations: 3.938 kB / 0.6291 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/0.5208, allocations: 4.962 MB / 0.6339 GB, free: 8.449 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.5213, allocations: 203.4 kB / 0.6341 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.5215, allocations: 16 kB / 0.6341 GB, free: 8.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.5225, allocations: 107.9 kB / 0.6342 GB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00067/0.5232, allocations: 212.6 kB / 0.6344 GB, free: 7.898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.5232, allocations: 27.98 kB / 0.6345 GB, free: 7.871 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007157/0.524, allocations: 0.5887 MB / 0.635 GB, free: 7.273 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.524, allocations: 4 kB / 0.6351 GB, free: 7.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001136/0.5251, allocations: 431.5 kB / 0.6355 GB, free: 6.848 MB / 442.7 MB 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.01475/0.5399, allocations: 5.549 MB / 0.6409 GB, free: 1.262 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006356/0.5462, allocations: 2.434 MB / 0.6433 GB, free: 14.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5463, allocations: 4.062 kB / 0.6433 GB, free: 14.81 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004482/0.5508, allocations: 1.536 MB / 0.6448 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.5517, allocations: 90.06 kB / 0.6449 GB, free: 13.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03807/0.5898, allocations: 16.09 MB / 0.6606 GB, free: 12.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.5904, allocations: 1.092 MB / 0.6616 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004239/0.5908, allocations: 86.67 kB / 0.6617 GB, free: 11.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.5914, allocations: 439.3 kB / 0.6621 GB, free: 11.05 MB / 474.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5914, allocations: 0 / 0.6621 GB, free: 11.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04595/0.6373, allocations: 29.65 MB / 0.6911 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.6375, allocations: 233.5 kB / 0.6913 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/3.521, allocations: 4 kB / 0.6913 GB, free: 13.36 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)