Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json 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.0008328/0.0008328, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8796/0.8796, allocations: 177.2 MB / 199.4 MB, free: 5.934 MB / 186.7 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.001125/0.001125, allocations: 164.1 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2731/0.2731, allocations: 80.37 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.107e-05, allocations: 2.281 kB / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004383/0.004404, allocations: 5.12 MB / 0.56 GB, free: 7.441 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.007236, allocations: 1.7 MB / 0.5616 GB, free: 5.738 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005085/0.007745, allocations: 15.94 kB / 0.5616 GB, free: 5.723 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.008223, allocations: 198.3 kB / 0.5618 GB, free: 5.527 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.009776, allocations: 0.7414 MB / 0.5625 GB, free: 4.781 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009968/0.01077, allocations: 0.5532 MB / 0.5631 GB, free: 4.234 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.01218, allocations: 1.287 MB / 0.5643 GB, free: 2.941 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.01252, allocations: 171.7 kB / 0.5645 GB, free: 2.762 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009903/0.01351, allocations: 0.748 MB / 0.5652 GB, free: 2.012 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006111/0.01412, allocations: 0.5062 MB / 0.5657 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.01426, allocations: 88 kB / 0.5658 GB, free: 1.418 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.01477, allocations: 243.7 kB / 0.566 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.01493, allocations: 242.8 kB / 0.5663 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.01524, allocations: 370.7 kB / 0.5666 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.01656, allocations: 1.405 MB / 0.568 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.01657, allocations: 0 / 0.568 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.803e-06/0.01657, allocations: 0 / 0.568 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.01659, allocations: 0 / 0.568 GB, free: 15.17 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004524/0.02111, allocations: 2.307 MB / 0.5703 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.02116, allocations: 16.02 kB / 0.5703 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.02128, allocations: 110.5 kB / 0.5704 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/0.02389, allocations: 0.7641 MB / 0.5711 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009837/0.02488, allocations: 0.653 MB / 0.5718 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.0251, allocations: 311.6 kB / 0.5721 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.02522, allocations: 67.95 kB / 0.5721 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.02655, allocations: 0.9559 MB / 0.5731 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.02657, allocations: 0 / 0.5731 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.02663, allocations: 24 kB / 0.5731 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.02664, allocations: 19.94 kB / 0.5731 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.02801, allocations: 0.9721 MB / 0.574 GB, free: 8.836 MB / 0.4948 GB 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.00353/0.03154, allocations: 2.355 MB / 0.5763 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.03279, allocations: 0.7713 MB / 0.5771 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009275/0.03371, allocations: 0.628 MB / 0.5777 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.867e-05/0.03379, allocations: 16.59 kB / 0.5777 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.03382, allocations: 39.22 kB / 0.5778 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.03382, allocations: 0 / 0.5778 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01432/0.04814, allocations: 6.659 MB / 0.5843 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.04819, allocations: 64 kB / 0.5843 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008678/0.04905, allocations: 0.8064 MB / 0.5851 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.04923, allocations: 41.7 kB / 0.5852 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.04948, allocations: 429.1 kB / 0.5856 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.04977, allocations: 313.3 kB / 0.5859 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.05001, allocations: 178.9 kB / 0.586 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.05011, allocations: 345.9 kB / 0.5864 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009812/0.05109, allocations: 0.6506 MB / 0.587 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.05214, allocations: 0.7834 MB / 0.5878 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/0.06223, allocations: 4.602 MB / 0.5923 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.06224, allocations: 7.938 kB / 0.5923 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.007627/0.06987, allocations: 4.083 MB / 0.5963 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.06989, allocations: 8 kB / 0.5963 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.0699, allocations: 4 kB / 0.5963 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003515/0.07342, allocations: 1.787 MB / 0.598 GB, free: 64 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1894/0.2628, allocations: 161.9 kB / 0.5982 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.2757, allocations: 9.024 MB / 0.607 GB, free: 88.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008969/0.2766, allocations: 160.6 kB / 0.6071 GB, free: 88.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.2766, allocations: 38.69 kB / 0.6072 GB, free: 88.36 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0003357/0.277, allocations: 224.9 kB / 0.6074 GB, free: 88.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.2771, allocations: 106.6 kB / 0.6075 GB, free: 88.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007033/0.2841, allocations: 3.799 MB / 0.6112 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.2842, allocations: 8.406 kB / 0.6112 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2842, allocations: 0 / 0.6112 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.2842, allocations: 4.547 kB / 0.6112 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009005/0.2932, allocations: 4.725 MB / 0.6158 GB, free: 86.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.2932, allocations: 3.438 kB / 0.6158 GB, free: 86.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.2936, allocations: 89.84 kB / 0.6159 GB, free: 86.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003539/0.2971, allocations: 1.742 MB / 0.6176 GB, free: 85.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.2972, allocations: 16.42 kB / 0.6176 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.3088, allocations: 7.768 MB / 0.6252 GB, free: 82.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3088, allocations: 0.9844 kB / 0.6252 GB, free: 82.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008637/0.3174, allocations: 4.685 MB / 0.6298 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.3177, allocations: 122.2 kB / 0.6299 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.3178, allocations: 13.31 kB / 0.6299 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/0.3183, allocations: 96.7 kB / 0.63 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005407/0.3189, allocations: 210.1 kB / 0.6302 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.3189, allocations: 21.73 kB / 0.6302 GB, free: 80.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005815/0.3195, allocations: 0.5401 MB / 0.6308 GB, free: 80.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3195, allocations: 0 / 0.6308 GB, free: 80.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001298/0.3208, allocations: 409.1 kB / 0.6311 GB, free: 80.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.007921/0.3287, allocations: 5.257 MB / 0.6363 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003549/0.3323, allocations: 2.218 MB / 0.6384 GB, free: 77.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3323, allocations: 4.062 kB / 0.6385 GB, free: 77.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.3345, allocations: 1.428 MB / 0.6398 GB, free: 76.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.3351, allocations: 79.89 kB / 0.6399 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/0.3542, allocations: 14.09 MB / 0.6537 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3544, allocations: 442.2 kB / 0.6541 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002341/0.3547, allocations: 78.25 kB / 0.6542 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.3549, allocations: 372.4 kB / 0.6545 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/0.3549, allocations: 2.297 kB / 0.6545 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.3985, allocations: 33.36 MB / 0.6871 GB, free: 29.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.872/9.27, allocations: 1.094 kB / 0.6871 GB, free: 29.74 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.178438949398696] Failed to read output from testmodel.py, exit status != 0: 9.374571482650936 9.382235027 9.364179022 Calling exit ...