Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.000796/0.000796, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.8781/0.8781, allocations: 177.2 MB / 199.4 MB, free: 5.945 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.001011/0.001011, allocations: 160.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2582/0.2582, allocations: 80.25 MB / 392.6 MB, free: 2.438 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 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_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5548 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.357e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006027/0.00605, allocations: 5.109 MB / 0.5598 GB, free: 7.555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.009385, allocations: 1.7 MB / 0.5614 GB, free: 5.852 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005756/0.00996, allocations: 8 kB / 0.5615 GB, free: 5.844 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.01046, allocations: 202.2 kB / 0.5616 GB, free: 5.645 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.01207, allocations: 0.7492 MB / 0.5624 GB, free: 4.891 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.01309, allocations: 0.5464 MB / 0.5629 GB, free: 4.352 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.01447, allocations: 1.287 MB / 0.5642 GB, free: 3.059 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.01483, allocations: 179.6 kB / 0.5643 GB, free: 2.871 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.01584, allocations: 0.7402 MB / 0.5651 GB, free: 2.129 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.01627, allocations: 0.514 MB / 0.5656 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.413e-05/0.01636, allocations: 91.94 kB / 0.5657 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.01667, allocations: 231.8 kB / 0.5659 GB, free: 1.297 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.01681, allocations: 250.8 kB / 0.5661 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.01702, allocations: 362.8 kB / 0.5665 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.01806, allocations: 1.405 MB / 0.5678 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.01806, allocations: 4 kB / 0.5678 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01807, allocations: 0 / 0.5678 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.01808, allocations: 0 / 0.5678 GB, free: 15.28 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.003724/0.0218, allocations: 2.315 MB / 0.5701 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.02184, allocations: 12.03 kB / 0.5701 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.02195, allocations: 118.5 kB / 0.5702 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.02422, allocations: 0.7602 MB / 0.571 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007692/0.02499, allocations: 0.6451 MB / 0.5716 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.02518, allocations: 307.6 kB / 0.5719 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.02528, allocations: 71.89 kB / 0.572 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.02646, allocations: 0.9599 MB / 0.5729 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.02647, allocations: 0 / 0.5729 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.02652, allocations: 24 kB / 0.5729 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.02653, allocations: 23.88 kB / 0.5729 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.02787, allocations: 0.9721 MB / 0.5739 GB, free: 8.941 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.002985/0.03085, allocations: 2.347 MB / 0.5762 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.03196, allocations: 0.776 MB / 0.5769 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.03274, allocations: 0.6241 MB / 0.5775 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.03281, allocations: 16.59 kB / 0.5776 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.03283, allocations: 35.22 kB / 0.5776 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=82): time 3.376e-06/0.03283, allocations: 4 kB / 0.5776 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01328/0.04611, allocations: 6.662 MB / 0.5841 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.04616, allocations: 64.05 kB / 0.5842 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.04696, allocations: 0.8026 MB / 0.585 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/0.04704, allocations: 37.7 kB / 0.585 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.04727, allocations: 433.1 kB / 0.5854 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.0475, allocations: 305.3 kB / 0.5857 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.04773, allocations: 182.9 kB / 0.5859 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.04783, allocations: 349.9 kB / 0.5862 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008645/0.04869, allocations: 0.6506 MB / 0.5868 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009013/0.04959, allocations: 0.7756 MB / 0.5876 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008946/0.05854, allocations: 4.602 MB / 0.5921 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.05854, allocations: 0 / 0.5921 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.007098/0.06564, allocations: 4.091 MB / 0.5961 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.06566, allocations: 4 kB / 0.5961 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.06568, allocations: 8 kB / 0.5961 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003212/0.06889, allocations: 1.791 MB / 0.5978 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.06936, allocations: 167.7 kB / 0.598 GB, free: 12 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2087/0.2781, allocations: 9.029 MB / 0.6068 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000854/0.2789, allocations: 157.1 kB / 0.607 GB, free: 88.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.279, allocations: 36.84 kB / 0.607 GB, free: 88.82 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.000322/0.2793, allocations: 224.5 kB / 0.6072 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2794, allocations: 107 kB / 0.6073 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006596/0.286, allocations: 3.796 MB / 0.611 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.286, allocations: 9.031 kB / 0.611 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.286, allocations: 1.188 kB / 0.611 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.286, allocations: 4.125 kB / 0.611 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008204/0.2942, allocations: 4.728 MB / 0.6157 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2942, allocations: 0.6562 kB / 0.6157 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.2945, allocations: 88.92 kB / 0.6157 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003306/0.2978, allocations: 1.743 MB / 0.6174 GB, free: 86.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/0.2979, allocations: 15.03 kB / 0.6175 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.3086, allocations: 7.77 MB / 0.6251 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3086, allocations: 0.6562 kB / 0.6251 GB, free: 82.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007955/0.3166, allocations: 4.69 MB / 0.6296 GB, free: 81.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.3168, allocations: 112.3 kB / 0.6297 GB, free: 81.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/0.3169, allocations: 15.94 kB / 0.6298 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.3174, allocations: 96.7 kB / 0.6298 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004833/0.3178, allocations: 214 kB / 0.6301 GB, free: 81.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.3179, allocations: 17.72 kB / 0.6301 GB, free: 81.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005011/0.3184, allocations: 0.5374 MB / 0.6306 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3184, allocations: 0 / 0.6306 GB, free: 80.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00104/0.3194, allocations: 417.7 kB / 0.631 GB, free: 80.72 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.007795/0.3272, allocations: 5.251 MB / 0.6361 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003422/0.3306, allocations: 2.224 MB / 0.6383 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3306, allocations: 0 / 0.6383 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.3329, allocations: 1.431 MB / 0.6397 GB, free: 77.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.3334, allocations: 77.91 kB / 0.6398 GB, free: 77.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.3512, allocations: 14.09 MB / 0.6535 GB, free: 64.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3515, allocations: 447.3 kB / 0.6539 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001832/0.3517, allocations: 78.25 kB / 0.654 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.3519, allocations: 368.4 kB / 0.6544 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of SimCode: time 1.372e-06/0.3519, allocations: 0 / 0.6544 GB, free: 63.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0411/0.393, allocations: 33.36 MB / 0.687 GB, free: 30.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.778, allocations: 1.75 kB / 0.687 GB, free: 30.35 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.301208565942943] Failed to read output from testmodel.py, exit status != 0: 8.88111092057079 8.891155241 8.871431661 Calling exit ...