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.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.0008346/0.0008346, 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.911/0.911, allocations: 177.1 MB / 199.4 MB, free: 5.938 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.001613/0.001613, allocations: 152.6 kB / 256 MB, free: 13.34 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.2668/0.2668, allocations: 80.36 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_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 1.333e-06/1.333e-06, allocations: 0 / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.415e-05, allocations: 6.281 kB / 0.555 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004434/0.004448, allocations: 5.721 MB / 0.5606 GB, free: 6.828 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.007137, allocations: 1.892 MB / 0.5624 GB, free: 4.934 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.00753, allocations: 15.94 kB / 0.5624 GB, free: 4.918 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.007897, allocations: 218 kB / 0.5626 GB, free: 4.703 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.009019, allocations: 0.7869 MB / 0.5634 GB, free: 3.914 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.009852, allocations: 0.6181 MB / 0.564 GB, free: 3.301 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009213/0.01077, allocations: 1.475 MB / 0.5654 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.01104, allocations: 216.8 kB / 0.5656 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006874/0.01173, allocations: 0.8338 MB / 0.5665 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.01218, allocations: 0.584 MB / 0.567 GB, free: 180 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-05/0.01228, allocations: 100 kB / 0.5671 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.01258, allocations: 247.8 kB / 0.5674 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.01273, allocations: 286.6 kB / 0.5676 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.01297, allocations: 418.6 kB / 0.568 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.01397, allocations: 1.581 MB / 0.5696 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01398, allocations: 0 / 0.5696 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01398, allocations: 0 / 0.5696 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.01399, allocations: 0 / 0.5696 GB, free: 13.56 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004045/0.01803, allocations: 2.542 MB / 0.5721 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.01807, allocations: 12.03 kB / 0.5721 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.01819, allocations: 126.8 kB / 0.5722 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.0208, allocations: 0.8186 MB / 0.573 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.0216, allocations: 0.7248 MB / 0.5737 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.0218, allocations: 311.6 kB / 0.574 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.02191, allocations: 76 kB / 0.5741 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.02326, allocations: 1.081 MB / 0.5751 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.02327, allocations: 0 / 0.5751 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.02333, allocations: 28 kB / 0.5751 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.02335, allocations: 23.94 kB / 0.5752 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.02483, allocations: 1.12 MB / 0.5763 GB, free: 6.551 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.003207/0.02804, allocations: 2.619 MB / 0.5788 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.02921, allocations: 0.877 MB / 0.5797 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009793/0.03019, allocations: 0.7109 MB / 0.5804 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.812e-05/0.03027, allocations: 12.98 kB / 0.5804 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.0303, allocations: 47.56 kB / 0.5804 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=97): time 2.014e-06/0.0303, allocations: 0 / 0.5804 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.01297/0.04327, allocations: 6.505 MB / 0.5868 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.0433, allocations: 64.41 kB / 0.5868 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000742/0.04404, allocations: 0.9126 MB / 0.5877 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.0441, allocations: 37.7 kB / 0.5878 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.04435, allocations: 0.5013 MB / 0.5883 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.04455, allocations: 360.9 kB / 0.5886 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.04479, allocations: 206.8 kB / 0.5888 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.04487, allocations: 349.9 kB / 0.5891 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009954/0.04587, allocations: 0.717 MB / 0.5898 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.04693, allocations: 0.854 MB / 0.5907 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009901/0.05683, allocations: 4.932 MB / 0.5955 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.05684, allocations: 0 / 0.5955 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.1904/0.2472, allocations: 4.253 MB / 0.5996 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.2473, allocations: 6.344 kB / 0.5996 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.2473, allocations: 3.219 kB / 0.5997 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003246/0.2505, allocations: 1.803 MB / 0.6014 GB, free: 91.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.2512, allocations: 210.4 kB / 0.6016 GB, free: 91.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.263, allocations: 9.019 MB / 0.6104 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/0.2638, allocations: 175.6 kB / 0.6106 GB, free: 88.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.2639, allocations: 43.94 kB / 0.6106 GB, free: 88.02 MB / 0.5105 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.0003294/0.2642, allocations: 247 kB / 0.6109 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.2643, allocations: 129.4 kB / 0.611 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00699/0.2713, allocations: 3.98 MB / 0.6149 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.2713, allocations: 9.625 kB / 0.6149 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2713, allocations: 0 / 0.6149 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.2714, allocations: 10.2 kB / 0.6149 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007975/0.2793, allocations: 4.977 MB / 0.6198 GB, free: 85.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2793, allocations: 0 / 0.6198 GB, free: 85.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.2797, allocations: 131.6 kB / 0.6199 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003211/0.2829, allocations: 1.747 MB / 0.6216 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.2829, allocations: 18.92 kB / 0.6216 GB, free: 85.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009831/0.2928, allocations: 7.767 MB / 0.6292 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2928, allocations: 0 / 0.6292 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007712/0.3005, allocations: 4.944 MB / 0.634 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3006, allocations: 128.5 kB / 0.6341 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.9e-05/0.3007, allocations: 20.06 kB / 0.6342 GB, free: 79.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.3012, allocations: 119.2 kB / 0.6343 GB, free: 79.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/0.3016, allocations: 222.7 kB / 0.6345 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.3016, allocations: 24.78 kB / 0.6345 GB, free: 79.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004936/0.3021, allocations: 0.6055 MB / 0.6351 GB, free: 79.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.3021, allocations: 0 / 0.6351 GB, free: 79.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009825/0.3031, allocations: 451.9 kB / 0.6355 GB, free: 79.06 MB / 0.5105 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.007435/0.3105, allocations: 5.523 MB / 0.6409 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00339/0.3139, allocations: 2.388 MB / 0.6433 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3139, allocations: 0 / 0.6433 GB, free: 74.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.3161, allocations: 1.52 MB / 0.6447 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.3165, allocations: 85.62 kB / 0.6448 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/0.3346, allocations: 15.26 MB / 0.6597 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3349, allocations: 0.5098 MB / 0.6602 GB, free: 56.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.335, allocations: 86.84 kB / 0.6603 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.3354, allocations: 448.3 kB / 0.6607 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.3354, allocations: 0 / 0.6607 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.3699, allocations: 36.23 MB / 0.6961 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.8/9.17, allocations: 3.094 kB / 0.6961 GB, free: 20.3 MB / 0.5105 GB " [Timeout remaining time 651] (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: 17.29111527185887] Failed to read output from testmodel.py, exit status != 0: 9.273699435405433 9.279793901 9.264453511 Calling exit ...