Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.0007892/0.0007892, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.878/0.878, allocations: 177.2 MB / 200.2 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.001302/0.001302, allocations: 163.2 kB / 256.7 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.2652/0.2652, allocations: 80.25 MB / 393.4 MB, free: 2.43 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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.556 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.227e-05, allocations: 12.47 kB / 0.556 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005368/0.0054, allocations: 5.66 MB / 0.5616 GB, free: 6.434 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.009137, allocations: 1.876 MB / 0.5634 GB, free: 4.555 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.009797, allocations: 15.94 kB / 0.5634 GB, free: 4.539 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.01029, allocations: 222 kB / 0.5636 GB, free: 4.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.01176, allocations: 0.7671 MB / 0.5644 GB, free: 3.551 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.01278, allocations: 0.6312 MB / 0.565 GB, free: 2.926 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.01419, allocations: 1.459 MB / 0.5664 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.01459, allocations: 216.8 kB / 0.5666 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.01563, allocations: 0.8259 MB / 0.5674 GB, free: 420 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006655/0.01629, allocations: 0.5646 MB / 0.568 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.01649, allocations: 104 kB / 0.5681 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.01695, allocations: 247.8 kB / 0.5683 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.01711, allocations: 278.7 kB / 0.5686 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005227/0.01764, allocations: 410.6 kB / 0.569 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.01914, allocations: 1.565 MB / 0.5705 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01914, allocations: 0 / 0.5705 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.074e-06/0.01914, allocations: 4 kB / 0.5705 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.644e-05/0.01919, allocations: 0 / 0.5705 GB, free: 13.25 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004737/0.02393, allocations: 2.51 MB / 0.573 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.02397, allocations: 12.03 kB / 0.573 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/0.02659, allocations: 0.8225 MB / 0.5738 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.02763, allocations: 0.7245 MB / 0.5745 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.02787, allocations: 311.6 kB / 0.5748 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.02798, allocations: 76 kB / 0.5749 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.02963, allocations: 1.077 MB / 0.5759 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.02964, allocations: 0 / 0.5759 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.02971, allocations: 28 kB / 0.5759 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.02972, allocations: 23.94 kB / 0.576 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.0313, allocations: 1.113 MB / 0.577 GB, free: 6.414 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.003635/0.03493, allocations: 2.487 MB / 0.5795 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.0362, allocations: 0.873 MB / 0.5803 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009373/0.03714, allocations: 0.699 MB / 0.581 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.421e-05/0.03722, allocations: 13 kB / 0.581 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.03725, allocations: 43.56 kB / 0.5811 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.437e-06/0.03725, allocations: 0 / 0.5811 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01372/0.05097, allocations: 6.654 MB / 0.5876 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.05102, allocations: 64.39 kB / 0.5876 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009151/0.05193, allocations: 0.8799 MB / 0.5885 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.05207, allocations: 41.7 kB / 0.5885 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.05234, allocations: 0.5052 MB / 0.589 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.05263, allocations: 353 kB / 0.5893 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.05288, allocations: 186.9 kB / 0.5895 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.05298, allocations: 345.9 kB / 0.5899 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.05414, allocations: 0.7053 MB / 0.5905 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.05521, allocations: 0.8384 MB / 0.5914 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009991/0.0652, allocations: 4.869 MB / 0.5961 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.06521, allocations: 0 / 0.5961 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.2277/0.2929, allocations: 4.184 MB / 0.6002 GB, free: 92.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.2929, allocations: 6.938 kB / 0.6002 GB, free: 92.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.2929, allocations: 3.75 kB / 0.6002 GB, free: 92.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003341/0.2963, allocations: 1.853 MB / 0.602 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.297, allocations: 200.8 kB / 0.6022 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/0.3103, allocations: 8.762 MB / 0.6108 GB, free: 88.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.3113, allocations: 177.6 kB / 0.6109 GB, free: 88.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.3114, allocations: 38.31 kB / 0.611 GB, free: 88.64 MB / 0.5105 GB 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 (104): * Single equations (assignments): 103 * 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.0004147/0.3118, allocations: 235.3 kB / 0.6112 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.312, allocations: 125.5 kB / 0.6113 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007391/0.3194, allocations: 3.974 MB / 0.6152 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.3194, allocations: 9.625 kB / 0.6152 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3194, allocations: 0 / 0.6152 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.3194, allocations: 9.953 kB / 0.6152 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008615/0.328, allocations: 4.89 MB / 0.62 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.328, allocations: 2.844 kB / 0.62 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/0.3285, allocations: 128.9 kB / 0.6201 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003376/0.3318, allocations: 1.741 MB / 0.6218 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.332, allocations: 18.56 kB / 0.6218 GB, free: 85.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.3423, allocations: 7.738 MB / 0.6294 GB, free: 82.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3423, allocations: 0 / 0.6294 GB, free: 82.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008182/0.3505, allocations: 4.938 MB / 0.6342 GB, free: 80.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.3508, allocations: 130 kB / 0.6343 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/0.3509, allocations: 24.05 kB / 0.6344 GB, free: 80.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/0.3514, allocations: 108.9 kB / 0.6345 GB, free: 80.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000509/0.3519, allocations: 229.8 kB / 0.6347 GB, free: 80.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.352, allocations: 20.69 kB / 0.6347 GB, free: 80.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005447/0.3525, allocations: 0.5917 MB / 0.6353 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3525, allocations: 0 / 0.6353 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001069/0.3536, allocations: 436.8 kB / 0.6357 GB, free: 79.92 MB / 0.5105 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.0002705/0.3539, allocations: 138.3 kB / 0.6358 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003658/0.3575, allocations: 2.346 MB / 0.6381 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3575, allocations: 0 / 0.6381 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.3599, allocations: 1.514 MB / 0.6396 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.3604, allocations: 81.95 kB / 0.6397 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.3628, allocations: 1.99 MB / 0.6416 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3631, allocations: 0.5004 MB / 0.6421 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.3633, allocations: 77.53 kB / 0.6422 GB, free: 76.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/0.3633, allocations: 0 / 0.6422 GB, free: 76.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.01415/0.3774, allocations: 20.7 MB / 0.6624 GB, free: 55.93 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4995816284790635] Failed to read output from testmodel.py, exit status != 0: 0.3833023449406028 0.389109945 0.36854347200000004 Calling exit ...