Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.0009566/0.0009566, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.8703/0.8703, allocations: 177.1 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.001133/0.001133, allocations: 148.7 kB / 256 MB, free: 13.34 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.2605/0.2605, allocations: 80.25 MB / 392.6 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 180] 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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5548 GB, free: 12.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.791e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.3 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.004396/0.004414, allocations: 5.749 MB / 0.5604 GB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002818/0.007233, allocations: 1.919 MB / 0.5623 GB, free: 4.598 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.007643, allocations: 15.94 kB / 0.5623 GB, free: 4.582 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.008024, allocations: 226 kB / 0.5625 GB, free: 4.359 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.009255, allocations: 0.7703 MB / 0.5633 GB, free: 3.586 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009198/0.01018, allocations: 0.6558 MB / 0.5639 GB, free: 2.941 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.01147, allocations: 1.483 MB / 0.5654 GB, free: 1.453 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.0118, allocations: 220.8 kB / 0.5656 GB, free: 1.227 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007925/0.01259, allocations: 0.8454 MB / 0.5664 GB, free: 388 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1964/0.209, allocations: 0.5628 MB / 0.5669 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004292/0.2094, allocations: 100.8 kB / 0.567 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005957/0.21, allocations: 245.7 kB / 0.5673 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.2102, allocations: 287 kB / 0.5676 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.2105, allocations: 419.2 kB / 0.568 GB, free: 16.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.212, allocations: 1.578 MB / 0.5695 GB, free: 16.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.212, allocations: 0.75 kB / 0.5695 GB, free: 16.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.212, allocations: 0 / 0.5695 GB, free: 16.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.212, allocations: 2.062 kB / 0.5695 GB, free: 16.05 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004177/0.2162, allocations: 2.53 MB / 0.572 GB, free: 15.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2162, allocations: 11.45 kB / 0.572 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.2163, allocations: 128.6 kB / 0.5721 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.2189, allocations: 0.8249 MB / 0.5729 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008209/0.2197, allocations: 0.7275 MB / 0.5736 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.2198, allocations: 313.4 kB / 0.5739 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.22, allocations: 77.66 kB / 0.574 GB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.2214, allocations: 1.083 MB / 0.575 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2214, allocations: 4 kB / 0.5751 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.2214, allocations: 29.78 kB / 0.5751 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.2215, allocations: 19.25 kB / 0.5751 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.223, allocations: 1.115 MB / 0.5762 GB, free: 14.18 MB / 442.7 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.003598/0.2266, allocations: 2.651 MB / 0.5788 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.228, allocations: 0.8843 MB / 0.5796 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009358/0.2289, allocations: 0.7046 MB / 0.5803 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.258e-05/0.229, allocations: 13.3 kB / 0.5803 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.229, allocations: 45.03 kB / 0.5804 GB, free: 12.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 2.064e-06/0.229, allocations: 4 kB / 0.5804 GB, free: 12.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01395/0.243, allocations: 6.771 MB / 0.587 GB, free: 10.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.243, allocations: 61.94 kB / 0.5871 GB, free: 10.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000696/0.2437, allocations: 0.9055 MB / 0.5879 GB, free: 10.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.2438, allocations: 48.2 kB / 0.588 GB, free: 10.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.244, allocations: 0.4961 MB / 0.5885 GB, free: 9.859 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.2441, allocations: 364.2 kB / 0.5888 GB, free: 9.555 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.2444, allocations: 205.7 kB / 0.589 GB, free: 9.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.2445, allocations: 348.1 kB / 0.5893 GB, free: 9.094 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009923/0.2454, allocations: 0.7271 MB / 0.5901 GB, free: 8.734 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.2465, allocations: 0.8612 MB / 0.5909 GB, free: 8.254 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009682/0.2562, allocations: 4.953 MB / 0.5957 GB, free: 5.867 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.2562, allocations: 0 / 0.5957 GB, free: 5.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.007006/0.2632, allocations: 4.256 MB / 0.5999 GB, free: 3.832 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2632, allocations: 4.688 kB / 0.5999 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2632, allocations: 3.844 kB / 0.5999 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/0.2662, allocations: 1.731 MB / 0.6016 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.2667, allocations: 229 kB / 0.6018 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.2785, allocations: 8.763 MB / 0.6104 GB, free: 9.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/0.2793, allocations: 183.2 kB / 0.6105 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.2794, allocations: 43.98 kB / 0.6106 GB, free: 9.359 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003637/0.2797, allocations: 245.4 kB / 0.6108 GB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.2799, allocations: 127.2 kB / 0.6109 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006935/0.2868, allocations: 3.977 MB / 0.6148 GB, free: 5.039 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2868, allocations: 8 kB / 0.6148 GB, free: 5.031 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2868, allocations: 3.938 kB / 0.6148 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.2868, allocations: 3.984 kB / 0.6148 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008112/0.2949, allocations: 4.985 MB / 0.6197 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.2949, allocations: 0 / 0.6197 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.2953, allocations: 130.5 kB / 0.6198 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/0.2983, allocations: 1.739 MB / 0.6215 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.2984, allocations: 19.44 kB / 0.6215 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.3092, allocations: 7.766 MB / 0.6291 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3092, allocations: 0 / 0.6291 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008734/0.3179, allocations: 4.939 MB / 0.634 GB, free: 1.367 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.3183, allocations: 131 kB / 0.6341 GB, free: 1.238 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.3184, allocations: 19.98 kB / 0.6341 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.3189, allocations: 111.9 kB / 0.6342 GB, free: 1.109 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004714/0.3194, allocations: 228.5 kB / 0.6344 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.3195, allocations: 24 kB / 0.6344 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005715/0.32, allocations: 0.6012 MB / 0.635 GB, free: 260 kB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.32, allocations: 0 / 0.635 GB, free: 260 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.001002/0.321, allocations: 447.5 kB / 0.6355 GB, free: 15.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.008407/0.3294, allocations: 5.519 MB / 0.6408 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004036/0.3335, allocations: 2.357 MB / 0.6432 GB, free: 7.953 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3335, allocations: 4.188 kB / 0.6432 GB, free: 7.949 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.3359, allocations: 1.527 MB / 0.6446 GB, free: 6.426 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.3365, allocations: 84.42 kB / 0.6447 GB, free: 6.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/0.3581, allocations: 15.28 MB / 0.6597 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.3584, allocations: 0.5126 MB / 0.6602 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003264/0.3588, allocations: 94.83 kB / 0.6602 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.3592, allocations: 452.3 kB / 0.6607 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of SimCode: time 1.233e-06/0.3592, allocations: 0 / 0.6607 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.4058, allocations: 36.01 MB / 0.6958 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/8.956, allocations: 2.656 kB / 0.6958 GB, free: 2.062 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.341272885911167] Failed to read output from testmodel.py, exit status != 0: 9.06211534421891 9.072426616 8.858646966 Calling exit ...