Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08456/0.08456, allocations: 12.37 MB / 31.2 MB, free: 24 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 124.9 kB / 37.25 MB, free: 1.238 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 207.6 MB / 250.8 MB, free: 7.359 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 204.4 kB / 306.1 MB, free: 488 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3345/0.3345, allocations: 79.73 MB / 440.9 MB, free: 12.46 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004344/0.004344, allocations: 147.8 kB / 0.5875 GB, free: 7.602 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3588, allocations: 71.95 MB / 0.6578 GB, free: 2.656 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007089/0.3659, allocations: 6.474 MB / 0.6641 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004575/0.3704, allocations: 1.827 MB / 0.6659 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.3717, allocations: 10.72 kB / 0.6659 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007684/0.3724, allocations: 233.5 kB / 0.6662 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.3749, allocations: 0.7753 MB / 0.6669 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.3766, allocations: 0.6099 MB / 0.6675 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0023/0.3789, allocations: 1.405 MB / 0.6689 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005206/0.3794, allocations: 227 kB / 0.6691 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.3804, allocations: 0.6022 MB / 0.6697 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.3814, allocations: 0.7281 MB / 0.6704 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.3816, allocations: 100.3 kB / 0.6705 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.3822, allocations: 240.2 kB / 0.6707 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.3825, allocations: 276.8 kB / 0.671 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000665/0.3832, allocations: 0.6177 MB / 0.6716 GB, free: 9.531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.3852, allocations: 1.513 MB / 0.6731 GB, free: 8.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3852, allocations: 4 kB / 0.6731 GB, free: 8.668 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3852, allocations: 0 / 0.6731 GB, free: 8.668 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.423e-05/0.3853, allocations: 0 / 0.6731 GB, free: 8.668 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.008815/0.3941, allocations: 2.506 MB / 0.6755 GB, free: 7.137 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3941, allocations: 9.688 kB / 0.6755 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/0.3943, allocations: 132.3 kB / 0.6756 GB, free: 7.023 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/0.3997, allocations: 0.7828 MB / 0.6764 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.4014, allocations: 0.7102 MB / 0.6771 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/0.4019, allocations: 310.7 kB / 0.6774 GB, free: 5.809 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.4021, allocations: 78.75 kB / 0.6775 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.4047, allocations: 1.07 MB / 0.6785 GB, free: 5.184 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.4047, allocations: 1.438 kB / 0.6785 GB, free: 5.184 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.735e-05/0.4048, allocations: 33.34 kB / 0.6786 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.4048, allocations: 18.91 kB / 0.6786 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.4075, allocations: 1.122 MB / 0.6797 GB, free: 4.629 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.006761/0.4143, allocations: 3.375 MB / 0.683 GB, free: 1.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.4163, allocations: 0.8701 MB / 0.6838 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.418, allocations: 0.6993 MB / 0.6845 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.4181, allocations: 18.2 kB / 0.6845 GB, free: 1.191 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.4181, allocations: 47.62 kB / 0.6846 GB, free: 1.141 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.885e-06/0.4181, allocations: 0 / 0.6846 GB, free: 1.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.0271/0.4452, allocations: 6.642 MB / 0.691 GB, free: 13.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.4453, allocations: 61.34 kB / 0.6911 GB, free: 13.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.4467, allocations: 0.8844 MB / 0.692 GB, free: 13.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.4469, allocations: 41.05 kB / 0.692 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/0.4474, allocations: 0.4966 MB / 0.6925 GB, free: 12.85 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/0.4478, allocations: 354.6 kB / 0.6928 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000416/0.4482, allocations: 202.4 kB / 0.693 GB, free: 12.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4484, allocations: 359.5 kB / 0.6934 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.4501, allocations: 0.7059 MB / 0.6941 GB, free: 11.72 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.452, allocations: 0.8408 MB / 0.6949 GB, free: 11.24 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01998/0.472, allocations: 4.781 MB / 0.6995 GB, free: 7.363 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.472, allocations: 0 / 0.6995 GB, free: 7.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01545/0.4874, allocations: 4.234 MB / 0.7037 GB, free: 3.113 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.4875, allocations: 4 kB / 0.7037 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.4875, allocations: 4 kB / 0.7037 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006751/0.4942, allocations: 1.859 MB / 0.7055 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.4954, allocations: 211.6 kB / 0.7057 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/0.5187, allocations: 8.99 MB / 0.7145 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.5204, allocations: 175.3 kB / 0.7147 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.5206, allocations: 39.98 kB / 0.7147 GB, free: 7.715 MB / 494.1 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.0006417/0.5212, allocations: 257.4 kB / 0.7149 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.5216, allocations: 123.2 kB / 0.7151 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.5356, allocations: 3.971 MB / 0.7189 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.5356, allocations: 12 kB / 0.7189 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5356, allocations: 3.938 kB / 0.7189 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.5357, allocations: 7.984 kB / 0.719 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/0.5524, allocations: 5.554 MB / 0.7244 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.5524, allocations: 0 / 0.7244 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.5532, allocations: 127.8 kB / 0.7245 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006471/0.5597, allocations: 1.741 MB / 0.7262 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.5599, allocations: 19.98 kB / 0.7262 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/0.5808, allocations: 7.973 MB / 0.734 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5808, allocations: 0 / 0.734 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/0.5972, allocations: 4.937 MB / 0.7388 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/0.5977, allocations: 139 kB / 0.739 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.598, allocations: 16 kB / 0.739 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.5993, allocations: 107.9 kB / 0.7391 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007738/0.6, allocations: 232.4 kB / 0.7393 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.6001, allocations: 24 kB / 0.7393 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009579/0.6011, allocations: 0.5887 MB / 0.7399 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6011, allocations: 4 kB / 0.7399 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001631/0.6027, allocations: 435.6 kB / 0.7403 GB, free: 13.15 MB / 0.5137 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.01651/0.6192, allocations: 5.508 MB / 0.7457 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007436/0.6267, allocations: 2.358 MB / 0.748 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6267, allocations: 0 / 0.748 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005192/0.6319, allocations: 1.546 MB / 0.7495 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008948/0.6328, allocations: 84.41 kB / 0.7496 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03951/0.6723, allocations: 15.09 MB / 0.7643 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008144/0.6731, allocations: 1.084 MB / 0.7654 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004155/0.6735, allocations: 86.69 kB / 0.7655 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006747/0.6742, allocations: 455.3 kB / 0.7659 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.6742, allocations: 0 / 0.7659 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08359/0.7578, allocations: 34.43 MB / 0.7995 GB, free: 236 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.64/19.4, allocations: 7.859 kB / 0.7995 GB, free: 228 kB / 0.5606 GB " [Timeout remaining time 640] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.85962486290373] Failed to read output from testmodel.py, exit status != 0: 19.538091104011983 19.561554952 19.171647585 Calling exit ...