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/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.1399/0.1399, allocations: 12.36 MB / 31.95 MB, free: 6.477 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.001755/0.001755, allocations: 115.1 kB / 38 MB, free: 1.16 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.692/1.692, allocations: 207.6 MB / 251.6 MB, free: 7.613 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.001952/0.001952, allocations: 228.3 kB / 306.8 MB, free: 0.7344 MB / 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.3427/0.3427, allocations: 79.73 MB / 441.7 MB, free: 10.47 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: 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.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.004618/0.004618, allocations: 139.8 kB / 0.5888 GB, free: 4.891 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4413, allocations: 71.96 MB / 0.659 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.009414/0.4507, allocations: 6.593 MB / 0.6655 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.4559, allocations: 1.85 MB / 0.6673 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.4573, allocations: 15.94 kB / 0.6673 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.4585, allocations: 226 kB / 0.6675 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.4616, allocations: 0.7649 MB / 0.6683 GB, free: 4.348 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.001848/0.4635, allocations: 0.6232 MB / 0.6689 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.4663, allocations: 1.429 MB / 0.6703 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006813/0.467, allocations: 224.8 kB / 0.6705 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.4684, allocations: 0.6185 MB / 0.6711 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.4699, allocations: 0.731 MB / 0.6718 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005062/0.4704, allocations: 100 kB / 0.6719 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.4715, allocations: 247.8 kB / 0.6721 GB, free: 380 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005905/0.4721, allocations: 270.8 kB / 0.6724 GB, free: 108 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.4734, allocations: 0.6329 MB / 0.673 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.4765, allocations: 1.528 MB / 0.6745 GB, free: 13.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4765, allocations: 0 / 0.6745 GB, free: 13.94 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4765, allocations: 0 / 0.6745 GB, free: 13.94 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.686e-05/0.4765, allocations: 0 / 0.6745 GB, free: 13.94 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.009372/0.4859, allocations: 2.526 MB / 0.677 GB, free: 11.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4859, allocations: 8.031 kB / 0.677 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005035/0.491, allocations: 0.7952 MB / 0.6778 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.4928, allocations: 0.7129 MB / 0.6785 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003981/0.4932, allocations: 311.6 kB / 0.6787 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.4933, allocations: 76 kB / 0.6788 GB, free: 9.387 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.4959, allocations: 1.089 MB / 0.6799 GB, free: 8.293 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.4959, allocations: 3.938 kB / 0.6799 GB, free: 8.289 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.206e-05/0.496, allocations: 28 kB / 0.6799 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.496, allocations: 20 kB / 0.6799 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.4987, allocations: 1.12 MB / 0.681 GB, free: 7.117 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.007186/0.5059, allocations: 3.406 MB / 0.6844 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.5081, allocations: 0.8997 MB / 0.6852 GB, free: 2.664 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.5098, allocations: 0.707 MB / 0.6859 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.5099, allocations: 16.97 kB / 0.6859 GB, free: 1.938 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.51, allocations: 43.56 kB / 0.686 GB, free: 1.887 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 3.096e-06/0.51, allocations: 0 / 0.686 GB, free: 1.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02561/0.5356, allocations: 6.502 MB / 0.6923 GB, free: 11.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.5357, allocations: 64.39 kB / 0.6924 GB, free: 11.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.5373, allocations: 0.8884 MB / 0.6933 GB, free: 10.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.5376, allocations: 41.7 kB / 0.6933 GB, free: 10.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005321/0.5381, allocations: 0.4935 MB / 0.6938 GB, free: 9.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006154/0.5387, allocations: 372.8 kB / 0.6941 GB, free: 9.473 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005894/0.5393, allocations: 206.9 kB / 0.6943 GB, free: 9.262 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.5395, allocations: 349.9 kB / 0.6947 GB, free: 8.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.5413, allocations: 0.7365 MB / 0.6954 GB, free: 8.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.5433, allocations: 0.8579 MB / 0.6962 GB, free: 7.289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01988/0.5632, allocations: 4.85 MB / 0.701 GB, free: 2.406 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.5632, allocations: 4 kB / 0.701 GB, free: 2.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01469/0.5779, allocations: 4.254 MB / 0.7051 GB, free: 14.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.5779, allocations: 8 kB / 0.7051 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.5779, allocations: 0 / 0.7051 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006166/0.5841, allocations: 1.73 MB / 0.7068 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.5854, allocations: 227.7 kB / 0.707 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02355/0.6089, allocations: 8.958 MB / 0.7158 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.6107, allocations: 187.2 kB / 0.716 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/0.611, allocations: 43.98 kB / 0.716 GB, free: 2.859 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.0008683/0.6118, allocations: 241.6 kB / 0.7162 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/0.6123, allocations: 127.2 kB / 0.7164 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.6261, allocations: 3.979 MB / 0.7202 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.6261, allocations: 15.94 kB / 0.7203 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6261, allocations: 0 / 0.7203 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/0.6261, allocations: 7.969 kB / 0.7203 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.6434, allocations: 5.543 MB / 0.7257 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.6434, allocations: 0 / 0.7257 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.6442, allocations: 131.8 kB / 0.7258 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006185/0.6504, allocations: 1.737 MB / 0.7275 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/0.6506, allocations: 23.98 kB / 0.7275 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02018/0.6708, allocations: 7.957 MB / 0.7353 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6708, allocations: 0 / 0.7353 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/0.6871, allocations: 4.93 MB / 0.7401 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004997/0.6876, allocations: 135 kB / 0.7402 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/0.688, allocations: 19.98 kB / 0.7403 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.6894, allocations: 107.9 kB / 0.7404 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008731/0.6902, allocations: 232.4 kB / 0.7406 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.6904, allocations: 24 kB / 0.7406 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001153/0.6916, allocations: 0.5969 MB / 0.7412 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6916, allocations: 0 / 0.7412 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0018/0.6934, allocations: 439.6 kB / 0.7416 GB, free: 8.32 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.000383/0.6937, allocations: 136.2 kB / 0.7417 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007545/0.7013, allocations: 2.368 MB / 0.744 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.7013, allocations: 0 / 0.744 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005117/0.7064, allocations: 1.534 MB / 0.7455 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.7076, allocations: 92.34 kB / 0.7456 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/0.7128, allocations: 2.124 MB / 0.7477 GB, free: 2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.7138, allocations: 1.103 MB / 0.7488 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.7142, allocations: 75.42 kB / 0.7489 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/0.7142, allocations: 0 / 0.7489 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of Templates: time 0.03556/0.7497, allocations: 20.3 MB / 0.7687 GB, free: 12.47 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.506309387972578] Failed to read output from testmodel.py, exit status != 0: 0.7601765180006623 0.776064439 0.29609613 Calling exit ...