Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09016/0.09016, allocations: 12.2 MB / 27.43 MB, free: 1.391 MB / 19.64 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 120.4 kB / 30.94 MB, free: 4.672 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.61/1.61, allocations: 205.1 MB / 239.4 MB, free: 10.91 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.001517/0.001517, allocations: 192.1 kB / 289.6 MB, free: 15.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4505/0.4505, allocations: 78.5 MB / 418.1 MB, free: 31.73 MB / 318.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.002705/0.002705, allocations: 132.7 kB / 498.5 MB, free: 416 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3813, allocations: 68.03 MB / 0.5533 GB, free: 37.65 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006016/0.3874, allocations: 6.082 MB / 0.5592 GB, free: 33.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003376/0.3908, allocations: 1.735 MB / 0.5609 GB, free: 31.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005281/0.3914, allocations: 11.19 kB / 0.5609 GB, free: 31.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.3919, allocations: 157.3 kB / 0.5611 GB, free: 31.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.3933, allocations: 0.5993 MB / 0.5616 GB, free: 31.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009775/0.3943, allocations: 0.523 MB / 0.5622 GB, free: 31.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009918/0.3953, allocations: 1.221 MB / 0.5633 GB, free: 30.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.3957, allocations: 271.9 kB / 0.5636 GB, free: 30.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.3961, allocations: 0.5141 MB / 0.5641 GB, free: 30.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.3966, allocations: 0.6362 MB / 0.5647 GB, free: 29.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.3967, allocations: 86.97 kB / 0.5648 GB, free: 29.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000364/0.3971, allocations: 218.7 kB / 0.565 GB, free: 29.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.3973, allocations: 240.1 kB / 0.5653 GB, free: 29.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.3976, allocations: 0.545 MB / 0.5658 GB, free: 29.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.3986, allocations: 1.319 MB / 0.5671 GB, free: 28.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3986, allocations: 4 kB / 0.5671 GB, free: 28.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3986, allocations: 0 / 0.5671 GB, free: 28.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.3987, allocations: 0 / 0.5671 GB, free: 28.71 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006856/0.4055, allocations: 2.333 MB / 0.5694 GB, free: 27.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.4056, allocations: 13.02 kB / 0.5694 GB, free: 27.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.4057, allocations: 116.4 kB / 0.5695 GB, free: 27.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/0.4104, allocations: 0.7535 MB / 0.5702 GB, free: 27.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/0.4114, allocations: 0.7024 MB / 0.5709 GB, free: 26.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.4116, allocations: 246.8 kB / 0.5711 GB, free: 26.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.4118, allocations: 67.62 kB / 0.5712 GB, free: 26.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.4136, allocations: 0.9425 MB / 0.5721 GB, free: 26.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4136, allocations: 3.938 kB / 0.5721 GB, free: 26.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.4137, allocations: 28.91 kB / 0.5721 GB, free: 26.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.4137, allocations: 17.75 kB / 0.5722 GB, free: 26.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.4155, allocations: 0.9723 MB / 0.5731 GB, free: 25.98 MB / 414.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.00483/0.4203, allocations: 3.147 MB / 0.5762 GB, free: 24.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.4224, allocations: 1.315 MB / 0.5775 GB, free: 23.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.4238, allocations: 0.6953 MB / 0.5782 GB, free: 22.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.4239, allocations: 14.8 kB / 0.5782 GB, free: 22.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.4239, allocations: 42.09 kB / 0.5782 GB, free: 22.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=81): time 4.107e-06/0.4239, allocations: 0 / 0.5782 GB, free: 22.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=81): time 0.02767/0.4516, allocations: 6.71 MB / 0.5848 GB, free: 21.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.4517, allocations: 64 kB / 0.5848 GB, free: 21.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.4528, allocations: 0.7801 MB / 0.5856 GB, free: 20.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.453, allocations: 40.58 kB / 0.5856 GB, free: 20.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.4533, allocations: 425.6 kB / 0.586 GB, free: 20.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.4535, allocations: 292.8 kB / 0.5863 GB, free: 20.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/0.4539, allocations: 177.8 kB / 0.5865 GB, free: 20.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.454, allocations: 346.1 kB / 0.5868 GB, free: 19.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.4553, allocations: 0.6426 MB / 0.5874 GB, free: 19.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.4567, allocations: 0.7616 MB / 0.5882 GB, free: 19.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01741/0.4742, allocations: 4.454 MB / 0.5925 GB, free: 16.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.4742, allocations: 0 / 0.5925 GB, free: 16.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01235/0.4866, allocations: 4.044 MB / 0.5965 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.4866, allocations: 4 kB / 0.5965 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.4867, allocations: 4 kB / 0.5965 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005522/0.4922, allocations: 1.868 MB / 0.5983 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.493, allocations: 167.7 kB / 0.5985 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/0.5111, allocations: 9.101 MB / 0.6074 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.5126, allocations: 155 kB / 0.6075 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-05/0.5127, allocations: 35.98 kB / 0.6075 GB, free: 2.641 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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.0004099/0.5131, allocations: 223.7 kB / 0.6078 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.5133, allocations: 102.8 kB / 0.6078 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.5251, allocations: 3.829 MB / 0.6116 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.5252, allocations: 8 kB / 0.6116 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5252, allocations: 0 / 0.6116 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.5252, allocations: 3.984 kB / 0.6116 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.5399, allocations: 5.324 MB / 0.6168 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.54, allocations: 4 kB / 0.6168 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.5405, allocations: 91.83 kB / 0.6169 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005852/0.5464, allocations: 1.741 MB / 0.6186 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.5465, allocations: 19.98 kB / 0.6186 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/0.5648, allocations: 8.091 MB / 0.6265 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5649, allocations: 0 / 0.6265 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/0.5791, allocations: 4.688 MB / 0.6311 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004125/0.5796, allocations: 183.6 kB / 0.6313 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.5797, allocations: 20.06 kB / 0.6313 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/0.5807, allocations: 95.83 kB / 0.6314 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006787/0.5814, allocations: 196.7 kB / 0.6316 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.658e-05/0.5815, allocations: 16 kB / 0.6316 GB, free: 9.656 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006585/0.5821, allocations: 0.5303 MB / 0.6321 GB, free: 9.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5821, allocations: 0 / 0.6321 GB, free: 9.129 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00117/0.5833, allocations: 403.5 kB / 0.6325 GB, free: 8.734 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.01447/0.5978, allocations: 5.257 MB / 0.6376 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006726/0.6045, allocations: 2.327 MB / 0.6399 GB, free: 1.102 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6046, allocations: 4.062 kB / 0.6399 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004664/0.6093, allocations: 1.507 MB / 0.6414 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008311/0.6101, allocations: 79.23 kB / 0.6414 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0358/0.6459, allocations: 14.69 MB / 0.6558 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.6465, allocations: 1.025 MB / 0.6568 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.6469, allocations: 70.2 kB / 0.6569 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/0.6474, allocations: 379.3 kB / 0.6572 GB, free: 15 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6474, allocations: 0 / 0.6572 GB, free: 15 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05395/0.7014, allocations: 29.17 MB / 0.6857 GB, free: 1.902 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.7016, allocations: 217.6 kB / 0.6859 GB, free: 1.648 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.415, allocations: 4 kB / 0.6859 GB, free: 1.645 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)