Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1021/0.1021, allocations: 12.78 MB / 32.25 MB, free: 6.156 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 111.9 kB / 38.36 MB, free: 0.7734 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.485/1.485, allocations: 207.6 MB / 252 MB, free: 2.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 196.4 kB / 307.3 MB, free: 11.3 MB / 254.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.4815/0.4815, allocations: 79.7 MB / 442.1 MB, free: 11.18 MB / 302.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004338/0.004338, allocations: 144.1 kB / 0.5893 GB, free: 84 kB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2931, allocations: 72.03 MB / 0.6596 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005795/0.2989, allocations: 6.554 MB / 0.666 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003378/0.3023, allocations: 1.853 MB / 0.6678 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000853/0.3032, allocations: 12 kB / 0.6678 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.3037, allocations: 230 kB / 0.6681 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.3054, allocations: 0.7703 MB / 0.6688 GB, free: 2.195 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3066, allocations: 0.6104 MB / 0.6694 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.308, allocations: 1.429 MB / 0.6708 GB, free: 160 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.3084, allocations: 232.8 kB / 0.671 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009462/0.3094, allocations: 0.6029 MB / 0.6716 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009757/0.3103, allocations: 0.7388 MB / 0.6723 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.3105, allocations: 104 kB / 0.6724 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005457/0.3111, allocations: 243.8 kB / 0.6727 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.3113, allocations: 278.8 kB / 0.6729 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006468/0.312, allocations: 0.6252 MB / 0.6736 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.3139, allocations: 1.549 MB / 0.6751 GB, free: 11.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3139, allocations: 0 / 0.6751 GB, free: 11.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3139, allocations: 0 / 0.6751 GB, free: 11.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.314, allocations: 0 / 0.6751 GB, free: 11.78 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.009309/0.3233, allocations: 2.526 MB / 0.6775 GB, free: 9.215 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3233, allocations: 8.031 kB / 0.6775 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00543/0.3288, allocations: 0.7835 MB / 0.6783 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.3304, allocations: 0.7168 MB / 0.679 GB, free: 7.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/0.3307, allocations: 260.2 kB / 0.6793 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.3309, allocations: 79.98 kB / 0.6793 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.3336, allocations: 1.081 MB / 0.6804 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.3336, allocations: 3.938 kB / 0.6804 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.3337, allocations: 32 kB / 0.6804 GB, free: 6.172 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.3337, allocations: 23.88 kB / 0.6804 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.3366, allocations: 1.128 MB / 0.6815 GB, free: 5.016 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.006879/0.3435, allocations: 3.382 MB / 0.6848 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.3457, allocations: 0.8939 MB / 0.6857 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.3474, allocations: 0.707 MB / 0.6864 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.3476, allocations: 17 kB / 0.6864 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.3476, allocations: 47.55 kB / 0.6865 GB, free: 15.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.846e-06/0.3476, allocations: 0 / 0.6865 GB, free: 15.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02738/0.375, allocations: 6.502 MB / 0.6928 GB, free: 9.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.375, allocations: 60.41 kB / 0.6929 GB, free: 9.223 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.3764, allocations: 0.8884 MB / 0.6937 GB, free: 8.316 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000269/0.3767, allocations: 45.7 kB / 0.6938 GB, free: 8.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.3771, allocations: 0.4935 MB / 0.6943 GB, free: 7.766 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004643/0.3776, allocations: 368.8 kB / 0.6946 GB, free: 7.402 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/0.378, allocations: 206.9 kB / 0.6948 GB, free: 7.191 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3782, allocations: 357.9 kB / 0.6952 GB, free: 6.836 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.3801, allocations: 0.7286 MB / 0.6959 GB, free: 6.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.3821, allocations: 0.8619 MB / 0.6967 GB, free: 5.215 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02095/0.403, allocations: 4.854 MB / 0.7015 GB, free: 336 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.403, allocations: 0 / 0.7015 GB, free: 336 kB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01495/0.418, allocations: 4.254 MB / 0.7056 GB, free: 12.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.418, allocations: 6.344 kB / 0.7056 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.418, allocations: 7.984 kB / 0.7056 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006526/0.4246, allocations: 1.73 MB / 0.7073 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4258, allocations: 223.7 kB / 0.7075 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/0.4495, allocations: 8.958 MB / 0.7163 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.4512, allocations: 187.2 kB / 0.7164 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.4513, allocations: 39.98 kB / 0.7165 GB, free: 0.7891 MB / 494.1 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.0005237/0.4518, allocations: 242 kB / 0.7167 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.4521, allocations: 131.1 kB / 0.7168 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.4665, allocations: 3.971 MB / 0.7207 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.4665, allocations: 12 kB / 0.7207 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4665, allocations: 0 / 0.7207 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.4665, allocations: 7.969 kB / 0.7207 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.4834, allocations: 5.543 MB / 0.7262 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.4834, allocations: 4 kB / 0.7262 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.4843, allocations: 127.8 kB / 0.7263 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0065/0.4908, allocations: 1.745 MB / 0.728 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/0.4909, allocations: 16 kB / 0.728 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02075/0.5117, allocations: 7.958 MB / 0.7358 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5117, allocations: 0 / 0.7358 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/0.5286, allocations: 4.933 MB / 0.7406 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/0.529, allocations: 127 kB / 0.7407 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.5292, allocations: 23.98 kB / 0.7407 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.5303, allocations: 107.9 kB / 0.7408 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007984/0.5311, allocations: 228.5 kB / 0.7411 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-05/0.5312, allocations: 27.94 kB / 0.7411 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008818/0.5321, allocations: 0.5969 MB / 0.7417 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5321, allocations: 3.938 kB / 0.7417 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001324/0.5334, allocations: 439.6 kB / 0.7421 GB, free: 6.254 MB / 0.5137 GB 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.0002798/0.5337, allocations: 128.2 kB / 0.7422 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007432/0.5411, allocations: 2.369 MB / 0.7445 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5411, allocations: 0 / 0.7445 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00525/0.5464, allocations: 1.526 MB / 0.746 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.5472, allocations: 88.34 kB / 0.7461 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.5515, allocations: 2.095 MB / 0.7481 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/0.5523, allocations: 1.106 MB / 0.7492 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003973/0.5527, allocations: 94.75 kB / 0.7493 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.5529, allocations: 71.36 kB / 0.7494 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.5529, allocations: 0 / 0.7494 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.0434/0.5963, allocations: 24.69 MB / 0.7735 GB, free: 5.965 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.656239371048287] Failed to read output from testmodel.py, exit status != 0: 0.6065478400560096 0.62227827 0.30469920399999995 Calling exit ...