Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09235/0.09235, allocations: 12.36 MB / 31.22 MB, free: 6.41 MB / 26.18 MB " [Timeout remaining time 180] 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.001407/0.001407, allocations: 109 kB / 37.25 MB, free: 1.105 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 207.7 MB / 250.9 MB, free: 7.266 MB / 190.1 MB " [Timeout remaining time 178] 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.003253/0.003253, allocations: 208.4 kB / 306.1 MB, free: 300 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3151/0.3151, allocations: 79.72 MB / 440.9 MB, free: 12.27 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004526/0.004526, allocations: 147.9 kB / 0.5875 GB, free: 9.34 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1404, allocations: 71.95 MB / 0.6578 GB, free: 1.32 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2501/0.3905, allocations: 5.659 MB / 0.6633 GB, free: 8.055 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003273/0.3938, allocations: 1.749 MB / 0.665 GB, free: 7.371 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000557/0.3943, allocations: 15.41 kB / 0.665 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.3948, allocations: 223.8 kB / 0.6652 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.3962, allocations: 0.7493 MB / 0.666 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3974, allocations: 0.6032 MB / 0.6666 GB, free: 6.602 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3987, allocations: 1.399 MB / 0.6679 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.399, allocations: 209.9 kB / 0.6681 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006947/0.3997, allocations: 0.6063 MB / 0.6687 GB, free: 5.496 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006607/0.4004, allocations: 0.6591 MB / 0.6694 GB, free: 5.203 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.4005, allocations: 100.1 kB / 0.6695 GB, free: 5.203 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004744/0.401, allocations: 232.1 kB / 0.6697 GB, free: 5.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.4012, allocations: 277.6 kB / 0.6699 GB, free: 4.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.4016, allocations: 0.5059 MB / 0.6704 GB, free: 4.676 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.403, allocations: 1.521 MB / 0.6719 GB, free: 3.977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.403, allocations: 0 / 0.6719 GB, free: 3.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.403, allocations: 2.844 kB / 0.6719 GB, free: 3.977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.403, allocations: 0 / 0.6719 GB, free: 3.977 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.0075/0.4105, allocations: 2.509 MB / 0.6744 GB, free: 2.848 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4106, allocations: 10.5 kB / 0.6744 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.4107, allocations: 125.8 kB / 0.6745 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.4156, allocations: 0.7815 MB / 0.6753 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.4168, allocations: 0.7188 MB / 0.676 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/0.4171, allocations: 302.6 kB / 0.6763 GB, free: 1.809 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.4172, allocations: 78.94 kB / 0.6763 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.4194, allocations: 1.076 MB / 0.6774 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4194, allocations: 3.938 kB / 0.6774 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/0.4195, allocations: 32.91 kB / 0.6774 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.4195, allocations: 17.59 kB / 0.6774 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.4219, allocations: 1.115 MB / 0.6785 GB, free: 1.02 MB / 462.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.005124/0.427, allocations: 2.591 MB / 0.6811 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.4289, allocations: 0.8734 MB / 0.6819 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.4306, allocations: 0.6933 MB / 0.6826 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.4307, allocations: 11.84 kB / 0.6826 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.4308, allocations: 44.72 kB / 0.6826 GB, free: 15.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.176e-06/0.4308, allocations: 5.188 kB / 0.6827 GB, free: 15.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02679/0.4576, allocations: 6.641 MB / 0.6891 GB, free: 12.62 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.4576, allocations: 61.12 kB / 0.6892 GB, free: 12.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.459, allocations: 0.8926 MB / 0.6901 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000256/0.4592, allocations: 42.05 kB / 0.6901 GB, free: 12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.4596, allocations: 499.5 kB / 0.6906 GB, free: 11.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.4601, allocations: 359.7 kB / 0.6909 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.4604, allocations: 198 kB / 0.6911 GB, free: 11.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4606, allocations: 351.4 kB / 0.6914 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/0.4623, allocations: 0.7143 MB / 0.6921 GB, free: 10.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.4641, allocations: 0.8388 MB / 0.693 GB, free: 9.957 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01886/0.483, allocations: 4.78 MB / 0.6976 GB, free: 7.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.483, allocations: 4.812 kB / 0.6976 GB, free: 7.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01407/0.4971, allocations: 4.224 MB / 0.7018 GB, free: 5.551 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.4971, allocations: 11.09 kB / 0.7018 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4971, allocations: 1.312 kB / 0.7018 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006453/0.5036, allocations: 1.858 MB / 0.7036 GB, free: 4.406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.5048, allocations: 211.6 kB / 0.7038 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.527, allocations: 8.798 MB / 0.7124 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.5287, allocations: 179.1 kB / 0.7126 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.5288, allocations: 39.98 kB / 0.7126 GB, free: 11.09 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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.0006068/0.5294, allocations: 256.6 kB / 0.7128 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.5297, allocations: 123.2 kB / 0.713 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.5431, allocations: 3.963 MB / 0.7168 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.5431, allocations: 12 kB / 0.7168 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5431, allocations: 3.938 kB / 0.7168 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.383e-05/0.5431, allocations: 7.969 kB / 0.7168 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.5587, allocations: 4.973 MB / 0.7217 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.5588, allocations: 0 / 0.7217 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008399/0.5596, allocations: 131.8 kB / 0.7218 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006128/0.5657, allocations: 1.744 MB / 0.7235 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/0.5659, allocations: 20 kB / 0.7236 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01919/0.5851, allocations: 7.78 MB / 0.7311 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5851, allocations: 0 / 0.7311 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/0.6006, allocations: 4.933 MB / 0.736 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/0.6011, allocations: 135 kB / 0.7361 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.6012, allocations: 16 kB / 0.7361 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.6023, allocations: 111.9 kB / 0.7362 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006916/0.603, allocations: 232.4 kB / 0.7364 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.603, allocations: 24 kB / 0.7365 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008092/0.6038, allocations: 0.5927 MB / 0.737 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.6038, allocations: 0 / 0.737 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001221/0.6051, allocations: 431.6 kB / 0.7375 GB, free: 1.398 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.01588/0.6209, allocations: 5.515 MB / 0.7428 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007052/0.628, allocations: 2.363 MB / 0.7451 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.628, allocations: 0 / 0.7451 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/0.6328, allocations: 1.534 MB / 0.7466 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008674/0.6337, allocations: 85.62 kB / 0.7467 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/0.6729, allocations: 15.09 MB / 0.7615 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.6735, allocations: 0.4905 MB / 0.7619 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004635/0.6739, allocations: 85.23 kB / 0.762 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006249/0.6746, allocations: 451.3 kB / 0.7625 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/0.6746, allocations: 0 / 0.7625 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08156/0.7561, allocations: 35.36 MB / 0.797 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.18, allocations: 7.922 kB / 0.797 GB, free: 4.113 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.870677547995] Failed to read output from testmodel.py, exit status != 0: 14.315190200228244 14.331922321 13.925569593 Calling exit ...