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.08108/0.08108, allocations: 12.37 MB / 31.21 MB, free: 6.438 MB / 26.18 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.001318/0.001318, allocations: 113 kB / 37.24 MB, free: 1.125 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.401/1.401, allocations: 207.7 MB / 250.9 MB, free: 7.285 MB / 190.1 MB " [Timeout remaining time 179] 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.002209/0.002209, allocations: 216.4 kB / 306.1 MB, free: 312 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.3491/0.3491, allocations: 79.72 MB / 440.9 MB, free: 12.29 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.004413/0.004413, allocations: 151.8 kB / 0.5875 GB, free: 9.363 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1364, allocations: 71.96 MB / 0.6578 GB, free: 1.336 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2696/0.4061, allocations: 5.659 MB / 0.6633 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.4096, allocations: 1.742 MB / 0.665 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005217/0.4101, allocations: 16.84 kB / 0.665 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.4106, allocations: 221.2 kB / 0.6652 GB, free: 7.227 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.4122, allocations: 0.7552 MB / 0.666 GB, free: 6.867 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.4133, allocations: 0.5981 MB / 0.6666 GB, free: 6.629 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.4145, allocations: 1.402 MB / 0.6679 GB, free: 5.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.4149, allocations: 214.5 kB / 0.6681 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006182/0.4155, allocations: 0.6023 MB / 0.6687 GB, free: 5.523 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006798/0.4162, allocations: 0.6628 MB / 0.6694 GB, free: 5.227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.4163, allocations: 99.41 kB / 0.6695 GB, free: 5.227 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005028/0.4169, allocations: 228.4 kB / 0.6697 GB, free: 5.191 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.417, allocations: 282.8 kB / 0.6699 GB, free: 5.004 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.4174, allocations: 0.4988 MB / 0.6704 GB, free: 4.703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.4189, allocations: 1.528 MB / 0.6719 GB, free: 4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4189, allocations: 0 / 0.6719 GB, free: 4 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4189, allocations: 0 / 0.6719 GB, free: 4 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.4189, allocations: 4 kB / 0.6719 GB, free: 3.996 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.00758/0.4265, allocations: 2.503 MB / 0.6744 GB, free: 2.875 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4265, allocations: 8.438 kB / 0.6744 GB, free: 2.875 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.4267, allocations: 127 kB / 0.6745 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004676/0.4314, allocations: 0.793 MB / 0.6753 GB, free: 2.617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.4326, allocations: 0.705 MB / 0.676 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.4329, allocations: 310.8 kB / 0.6763 GB, free: 1.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.433, allocations: 80.47 kB / 0.6763 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.4353, allocations: 1.075 MB / 0.6774 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.4353, allocations: 0 / 0.6774 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-05/0.4354, allocations: 37.03 kB / 0.6774 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.4354, allocations: 17.16 kB / 0.6774 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.4379, allocations: 1.115 MB / 0.6785 GB, free: 1.043 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.005603/0.4435, allocations: 2.594 MB / 0.6811 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.4455, allocations: 0.8715 MB / 0.6819 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.4471, allocations: 0.6928 MB / 0.6826 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.4473, allocations: 11.39 kB / 0.6826 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.4473, allocations: 49.02 kB / 0.6827 GB, free: 15.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.437e-06/0.4473, allocations: 0 / 0.6827 GB, free: 15.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02739/0.4747, allocations: 6.637 MB / 0.6891 GB, free: 12.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.4748, allocations: 65.91 kB / 0.6892 GB, free: 12.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.4762, allocations: 0.89 MB / 0.6901 GB, free: 12.08 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.4763, allocations: 41.39 kB / 0.6901 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.4768, allocations: 0.4914 MB / 0.6906 GB, free: 11.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004588/0.4773, allocations: 367.2 kB / 0.6909 GB, free: 11.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004641/0.4778, allocations: 193.2 kB / 0.6911 GB, free: 11.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.478, allocations: 352.8 kB / 0.6915 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.4798, allocations: 0.7168 MB / 0.6922 GB, free: 10.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.4817, allocations: 0.8345 MB / 0.693 GB, free: 9.988 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01896/0.5007, allocations: 4.788 MB / 0.6976 GB, free: 7.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.5007, allocations: 1.844 kB / 0.6976 GB, free: 7.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01426/0.515, allocations: 4.222 MB / 0.7018 GB, free: 5.578 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.515, allocations: 6.875 kB / 0.7018 GB, free: 5.578 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.515, allocations: 1.375 kB / 0.7018 GB, free: 5.578 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006366/0.5214, allocations: 1.861 MB / 0.7036 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.5224, allocations: 211.6 kB / 0.7038 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02286/0.5453, allocations: 8.785 MB / 0.7124 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.5468, allocations: 187.1 kB / 0.7126 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.547, allocations: 35.98 kB / 0.7126 GB, free: 11.14 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.0005959/0.5476, allocations: 249.1 kB / 0.7128 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.5479, allocations: 123.2 kB / 0.7129 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.5619, allocations: 3.967 MB / 0.7168 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.5619, allocations: 8 kB / 0.7168 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.562, allocations: 7.922 kB / 0.7168 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.562, allocations: 3.984 kB / 0.7168 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.5782, allocations: 4.973 MB / 0.7217 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.5782, allocations: 4 kB / 0.7217 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.579, allocations: 127.8 kB / 0.7218 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006267/0.5853, allocations: 1.745 MB / 0.7235 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.5854, allocations: 23.94 kB / 0.7235 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02031/0.6057, allocations: 7.78 MB / 0.7311 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6057, allocations: 0 / 0.7311 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/0.622, allocations: 4.937 MB / 0.736 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.6224, allocations: 127 kB / 0.7361 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.6226, allocations: 19.98 kB / 0.7361 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6238, allocations: 107.9 kB / 0.7362 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007216/0.6245, allocations: 236.4 kB / 0.7364 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.075e-05/0.6246, allocations: 20 kB / 0.7365 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008854/0.6255, allocations: 0.5965 MB / 0.737 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6255, allocations: 0 / 0.737 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001337/0.6268, allocations: 435.6 kB / 0.7375 GB, free: 1.449 MB / 0.4981 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.6433, allocations: 5.515 MB / 0.7428 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007508/0.6508, allocations: 2.352 MB / 0.7451 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6508, allocations: 0 / 0.7451 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00531/0.6562, allocations: 1.529 MB / 0.7466 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.6572, allocations: 91.84 kB / 0.7467 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04198/0.6992, allocations: 15.1 MB / 0.7615 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.6999, allocations: 0.4905 MB / 0.7619 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004973/0.7003, allocations: 89.61 kB / 0.762 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008534/0.7012, allocations: 447.3 kB / 0.7624 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of SimCode: time 1.253e-06/0.7012, allocations: 0 / 0.7624 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09233/0.7935, allocations: 35.36 MB / 0.797 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.61, allocations: 15.44 kB / 0.797 GB, free: 4.164 MB / 0.5606 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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: 18.05353602580726] Failed to read output from testmodel.py, exit status != 0: 14.744112064130604 14.75894403 14.337019109 Calling exit ...