Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.001282/0.001282, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.381/1.381, allocations: 225.6 MB / 244.8 MB, free: 14.15 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.00144/0.00144, allocations: 198.8 kB / 299.8 MB, free: 9.809 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.5251/0.5251, allocations: 99.67 MB / 454.4 MB, free: 5.031 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.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 83.86 kB / 0.6073 GB, free: 9.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1421, allocations: 76.94 MB / 0.6825 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006557/0.1487, allocations: 5.737 MB / 0.6881 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003423/0.1521, allocations: 1.735 MB / 0.6898 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004539/0.1526, allocations: 8 kB / 0.6898 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.153, allocations: 202.3 kB / 0.69 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.1546, allocations: 0.7341 MB / 0.6907 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1559, allocations: 0.55 MB / 0.6912 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.1572, allocations: 1.225 MB / 0.6924 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.1576, allocations: 187.1 kB / 0.6926 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006267/0.1582, allocations: 0.5251 MB / 0.6931 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007215/0.1589, allocations: 0.6416 MB / 0.6937 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.159, allocations: 84 kB / 0.6938 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.1595, allocations: 227.9 kB / 0.694 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.1597, allocations: 238.9 kB / 0.6943 GB, free: 276 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2833/0.443, allocations: 0.5289 MB / 0.6948 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.4449, allocations: 1.347 MB / 0.6961 GB, free: 9.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4449, allocations: 0 / 0.6961 GB, free: 9.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4449, allocations: 1.094 kB / 0.6961 GB, free: 9.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.799e-05/0.445, allocations: 0.5938 kB / 0.6961 GB, free: 9.598 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007909/0.4529, allocations: 2.362 MB / 0.6984 GB, free: 8.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4529, allocations: 12.09 kB / 0.6984 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.4531, allocations: 118 kB / 0.6985 GB, free: 8.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005033/0.4581, allocations: 0.7563 MB / 0.6993 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.4596, allocations: 0.7131 MB / 0.7 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.4599, allocations: 253 kB / 0.7002 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.46, allocations: 64.84 kB / 0.7003 GB, free: 8.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.4622, allocations: 0.9394 MB / 0.7012 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.4622, allocations: 8.688 kB / 0.7012 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/0.4623, allocations: 25.12 kB / 0.7012 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.4623, allocations: 15.72 kB / 0.7012 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.4644, allocations: 0.9699 MB / 0.7022 GB, free: 8.059 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.00621/0.4706, allocations: 3.145 MB / 0.7053 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.4725, allocations: 1.229 MB / 0.7065 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.4737, allocations: 0.6237 MB / 0.7071 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-05/0.4738, allocations: 9.969 kB / 0.7071 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.4739, allocations: 38.75 kB / 0.7071 GB, free: 6.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=81): time 3.236e-06/0.4739, allocations: 2.594 kB / 0.7071 GB, free: 6.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=81): time 0.02596/0.4998, allocations: 6.675 MB / 0.7136 GB, free: 4.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.4999, allocations: 59.88 kB / 0.7137 GB, free: 4.848 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.5011, allocations: 0.7888 MB / 0.7145 GB, free: 4.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.5013, allocations: 40.45 kB / 0.7145 GB, free: 4.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.5016, allocations: 433.9 kB / 0.7149 GB, free: 4.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.5018, allocations: 304.9 kB / 0.7152 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003196/0.5022, allocations: 173.2 kB / 0.7154 GB, free: 3.805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.526e-05/0.5022, allocations: 343.3 kB / 0.7157 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.5035, allocations: 0.6435 MB / 0.7163 GB, free: 3.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.5048, allocations: 0.7584 MB / 0.7171 GB, free: 2.914 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/0.5211, allocations: 4.449 MB / 0.7214 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.5211, allocations: 9.219 kB / 0.7214 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01314/0.5342, allocations: 4.007 MB / 0.7253 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.5343, allocations: 6.781 kB / 0.7253 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.5343, allocations: 3.875 kB / 0.7253 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006233/0.5405, allocations: 1.863 MB / 0.7272 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/0.5414, allocations: 165.2 kB / 0.7273 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/0.5627, allocations: 9.113 MB / 0.7362 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.5641, allocations: 152.3 kB / 0.7364 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.5643, allocations: 34.77 kB / 0.7364 GB, free: 8.309 MB / 0.4981 GB 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.0004849/0.5647, allocations: 231.9 kB / 0.7366 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.565, allocations: 105.8 kB / 0.7367 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.5771, allocations: 3.785 MB / 0.7404 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.5771, allocations: 8 kB / 0.7404 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5771, allocations: 0.875 kB / 0.7404 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/0.5771, allocations: 11.92 kB / 0.7404 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.592, allocations: 5.285 MB / 0.7456 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.592, allocations: 3.984 kB / 0.7456 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.5926, allocations: 87.42 kB / 0.7457 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005894/0.5985, allocations: 1.739 MB / 0.7474 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/0.5987, allocations: 21.91 kB / 0.7474 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/0.6174, allocations: 8.089 MB / 0.7553 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6174, allocations: 0 / 0.7553 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.6317, allocations: 4.659 MB / 0.7598 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/0.6322, allocations: 192.8 kB / 0.76 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.6324, allocations: 12 kB / 0.76 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009199/0.6333, allocations: 91.95 kB / 0.7601 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006421/0.634, allocations: 204.7 kB / 0.7603 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.634, allocations: 16 kB / 0.7603 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007096/0.6348, allocations: 0.5341 MB / 0.7609 GB, free: 324 kB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6348, allocations: 0 / 0.7609 GB, free: 324 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001318/0.6361, allocations: 403.7 kB / 0.7612 GB, free: 15.92 MB / 0.5294 GB 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.01487/0.6509, allocations: 5.236 MB / 0.7664 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006548/0.6575, allocations: 2.199 MB / 0.7685 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6575, allocations: 2.625 kB / 0.7685 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0046/0.6621, allocations: 1.438 MB / 0.7699 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.6629, allocations: 75.31 kB / 0.77 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03608/0.699, allocations: 13.93 MB / 0.7836 GB, free: 9.012 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.6997, allocations: 1.025 MB / 0.7846 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004157/0.7001, allocations: 78.12 kB / 0.7847 GB, free: 7.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.7006, allocations: 379.3 kB / 0.785 GB, free: 7.516 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/0.7006, allocations: 4 kB / 0.785 GB, free: 7.512 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07283/0.7735, allocations: 30.87 MB / 0.8152 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.38, allocations: 21.05 kB / 0.8152 GB, free: 8.797 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.876883405726403] Failed to read output from testmodel.py, exit status != 0: 16.494252127129585 16.517908423 16.068500858 Calling exit ...