Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 107.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.6 MB / 244.8 MB, free: 14.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 198.8 kB / 299.8 MB, free: 9.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.535/0.535, allocations: 99.66 MB / 454.4 MB, free: 5.441 MB / 318.1 MB " [Timeout remaining time 179] 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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 79.86 kB / 0.6073 GB, free: 9.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1452, allocations: 76.93 MB / 0.6825 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007848/0.153, allocations: 6.5 MB / 0.6888 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.1571, allocations: 1.876 MB / 0.6907 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008144/0.1579, allocations: 12 kB / 0.6907 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.1585, allocations: 226 kB / 0.6909 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.1604, allocations: 0.7599 MB / 0.6916 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1618, allocations: 0.6155 MB / 0.6922 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.1635, allocations: 1.417 MB / 0.6936 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.1639, allocations: 232.4 kB / 0.6938 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007576/0.1647, allocations: 0.599 MB / 0.6944 GB, free: 140 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2663/0.431, allocations: 0.7242 MB / 0.6951 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000316/0.4313, allocations: 103.3 kB / 0.6952 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.4319, allocations: 237.5 kB / 0.6954 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.4321, allocations: 282.9 kB / 0.6957 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.4326, allocations: 0.6238 MB / 0.6963 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.4342, allocations: 1.53 MB / 0.6978 GB, free: 8.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4342, allocations: 3.281 kB / 0.6978 GB, free: 8.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4342, allocations: 1.25 kB / 0.6978 GB, free: 8.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.4343, allocations: 2.312 kB / 0.6978 GB, free: 8.941 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007367/0.4416, allocations: 2.601 MB / 0.7004 GB, free: 8.016 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.4417, allocations: 12.19 kB / 0.7004 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.4418, allocations: 122.9 kB / 0.7005 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.4466, allocations: 0.7897 MB / 0.7013 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.4477, allocations: 0.79 MB / 0.702 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.448, allocations: 259.1 kB / 0.7023 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.4481, allocations: 81.16 kB / 0.7024 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.4502, allocations: 1.073 MB / 0.7034 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.4502, allocations: 0 / 0.7034 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/0.4503, allocations: 29.11 kB / 0.7034 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.4503, allocations: 20 kB / 0.7035 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.4525, allocations: 1.123 MB / 0.7046 GB, free: 7.234 MB / 494.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.005047/0.4576, allocations: 3.452 MB / 0.7079 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.4595, allocations: 1.335 MB / 0.7092 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.4609, allocations: 0.7012 MB / 0.7099 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.461, allocations: 20.7 kB / 0.7099 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.4611, allocations: 44.47 kB / 0.71 GB, free: 4.477 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 2.535e-06/0.4611, allocations: 0 / 0.71 GB, free: 4.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.02482/0.4859, allocations: 6.586 MB / 0.7164 GB, free: 3.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.4859, allocations: 63.16 kB / 0.7165 GB, free: 3.203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.4872, allocations: 0.897 MB / 0.7173 GB, free: 2.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.4874, allocations: 44.55 kB / 0.7174 GB, free: 2.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.4877, allocations: 0.4968 MB / 0.7179 GB, free: 2.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.488, allocations: 358.2 kB / 0.7182 GB, free: 1.996 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/0.4884, allocations: 208.8 kB / 0.7184 GB, free: 1.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.4885, allocations: 344 kB / 0.7187 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.49, allocations: 0.7231 MB / 0.7194 GB, free: 1.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.4916, allocations: 0.8481 MB / 0.7203 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01826/0.5099, allocations: 4.826 MB / 0.725 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5099, allocations: 0 / 0.725 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01379/0.5237, allocations: 4.25 MB / 0.7291 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.5237, allocations: 6.594 kB / 0.7291 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5237, allocations: 2.281 kB / 0.7291 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/0.5298, allocations: 1.811 MB / 0.7309 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.5309, allocations: 210.8 kB / 0.7311 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.5521, allocations: 9.338 MB / 0.7402 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.5538, allocations: 183 kB / 0.7404 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.5539, allocations: 43.73 kB / 0.7405 GB, free: 5.219 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000525/0.5544, allocations: 250.4 kB / 0.7407 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.5547, allocations: 127.1 kB / 0.7408 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/0.5678, allocations: 3.98 MB / 0.7447 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.5678, allocations: 12 kB / 0.7447 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5678, allocations: 0 / 0.7447 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/0.5679, allocations: 3.984 kB / 0.7447 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.5857, allocations: 5.584 MB / 0.7502 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.5857, allocations: 0 / 0.7502 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.5867, allocations: 133.4 kB / 0.7503 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009304/0.596, allocations: 1.74 MB / 0.752 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002529/0.5963, allocations: 16.61 kB / 0.752 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02877/0.6251, allocations: 8.081 MB / 0.7599 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6251, allocations: 0 / 0.7599 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01715/0.6422, allocations: 4.936 MB / 0.7647 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005439/0.6428, allocations: 216.1 kB / 0.7649 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.643, allocations: 19.19 kB / 0.7649 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.644, allocations: 107.9 kB / 0.765 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00072/0.6448, allocations: 221.4 kB / 0.7653 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-05/0.6448, allocations: 25.11 kB / 0.7653 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008632/0.6457, allocations: 0.6008 MB / 0.7659 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.6457, allocations: 0 / 0.7659 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001343/0.6471, allocations: 443.6 kB / 0.7663 GB, free: 10.56 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.01557/0.6626, allocations: 5.521 MB / 0.7717 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007093/0.6697, allocations: 2.377 MB / 0.774 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6697, allocations: 0 / 0.774 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004858/0.6746, allocations: 1.527 MB / 0.7755 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.6756, allocations: 92.34 kB / 0.7756 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04057/0.7162, allocations: 15.3 MB / 0.7905 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009079/0.7171, allocations: 1.103 MB / 0.7916 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000504/0.7176, allocations: 90.34 kB / 0.7917 GB, free: 476 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/0.7183, allocations: 443.3 kB / 0.7921 GB, free: 32 kB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.7183, allocations: 0 / 0.7921 GB, free: 32 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0756/0.7939, allocations: 34.05 MB / 0.8254 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/17.74, allocations: 15.36 kB / 0.8254 GB, free: 14.18 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.763339682947844] Failed to read output from testmodel.py, exit status != 0: 17.8561790343374 17.879708008 17.44114684 Calling exit ...