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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) 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/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09849/0.09849, allocations: 12.2 MB / 27.47 MB, free: 0.9219 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008553/0.0008552, allocations: 99.52 kB / 31 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 239.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 184.5 kB / 291 MB, free: 13.3 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4656/0.4656, allocations: 78.53 MB / 420.5 MB, free: 48.61 MB / 334.1 MB 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.0009682/0.0009684, allocations: 28 kB / 0.4901 GB, free: 2.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3514, allocations: 69.22 MB / 0.5577 GB, free: 43.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006155/0.3576, allocations: 6.397 MB / 0.5639 GB, free: 40.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.3615, allocations: 1.866 MB / 0.5658 GB, free: 39.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007252/0.3623, allocations: 17.16 kB / 0.5658 GB, free: 39.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004572/0.3627, allocations: 168.4 kB / 0.5659 GB, free: 39.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.3643, allocations: 0.6329 MB / 0.5666 GB, free: 39.38 MB / 430.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.001342/0.3657, allocations: 0.5636 MB / 0.5671 GB, free: 39.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.3673, allocations: 1.36 MB / 0.5684 GB, free: 38.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004957/0.3678, allocations: 285.3 kB / 0.5687 GB, free: 38.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000772/0.3686, allocations: 0.5291 MB / 0.5692 GB, free: 38.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007337/0.3693, allocations: 0.6629 MB / 0.5699 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.3695, allocations: 51.81 kB / 0.5699 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.37, allocations: 184.1 kB / 0.5701 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.3702, allocations: 223 kB / 0.5703 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.3706, allocations: 0.5905 MB / 0.5709 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.3717, allocations: 1.424 MB / 0.5723 GB, free: 36.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3717, allocations: 0 / 0.5723 GB, free: 36.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3717, allocations: 0 / 0.5723 GB, free: 36.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3717, allocations: 4 kB / 0.5723 GB, free: 36.58 MB / 430.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.007126/0.3788, allocations: 2.392 MB / 0.5746 GB, free: 35.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3789, allocations: 13.17 kB / 0.5746 GB, free: 35.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.3838, allocations: 0.7838 MB / 0.5754 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.3848, allocations: 0.7729 MB / 0.5762 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/0.3851, allocations: 271.3 kB / 0.5764 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.3853, allocations: 75.56 kB / 0.5765 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.3876, allocations: 1.17 MB / 0.5776 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3876, allocations: 3.938 kB / 0.5776 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.573e-05/0.3877, allocations: 34.78 kB / 0.5777 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3877, allocations: 18.19 kB / 0.5777 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.3902, allocations: 1.247 MB / 0.5789 GB, free: 33.79 MB / 430.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.005101/0.3953, allocations: 3.537 MB / 0.5824 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.3973, allocations: 1.519 MB / 0.5838 GB, free: 30.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.3989, allocations: 0.8786 MB / 0.5847 GB, free: 30.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.246e-05/0.399, allocations: 19.73 kB / 0.5847 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.399, allocations: 42.53 kB / 0.5848 GB, free: 30.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.535e-06/0.399, allocations: 0 / 0.5848 GB, free: 30.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02659/0.4256, allocations: 8.215 MB / 0.5928 GB, free: 29.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.4257, allocations: 62.62 kB / 0.5928 GB, free: 28.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.4271, allocations: 0.888 MB / 0.5937 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.4273, allocations: 45.83 kB / 0.5937 GB, free: 28.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.4277, allocations: 0.4904 MB / 0.5942 GB, free: 28.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.4281, allocations: 342.7 kB / 0.5946 GB, free: 27.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.4283, allocations: 113 kB / 0.5947 GB, free: 27.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.4284, allocations: 347.8 kB / 0.595 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/0.4303, allocations: 0.8225 MB / 0.5958 GB, free: 27.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.4323, allocations: 0.9578 MB / 0.5967 GB, free: 26.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0211/0.4534, allocations: 5.417 MB / 0.602 GB, free: 25.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4534, allocations: 1.062 kB / 0.602 GB, free: 25.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01764/0.4711, allocations: 5.232 MB / 0.6071 GB, free: 24.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.4712, allocations: 6.469 kB / 0.6071 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4712, allocations: 2.312 kB / 0.6071 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006415/0.4776, allocations: 2.038 MB / 0.6091 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.4788, allocations: 243.7 kB / 0.6094 GB, free: 22.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.4979, allocations: 9.333 MB / 0.6185 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.4997, allocations: 226.9 kB / 0.6187 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.4999, allocations: 43.98 kB / 0.6187 GB, free: 13.19 MB / 430.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.0005866/0.5005, allocations: 247.2 kB / 0.619 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.5008, allocations: 118.5 kB / 0.6191 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.5145, allocations: 4.959 MB / 0.6239 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.5145, allocations: 12 kB / 0.6239 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5145, allocations: 7.938 kB / 0.6239 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.228e-05/0.5146, allocations: 3.984 kB / 0.6239 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.5303, allocations: 6.547 MB / 0.6303 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.5304, allocations: 7.875 kB / 0.6303 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/0.5311, allocations: 155.8 kB / 0.6305 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00621/0.5373, allocations: 2.046 MB / 0.6325 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.5375, allocations: 20 kB / 0.6325 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/0.5572, allocations: 8.203 MB / 0.6405 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5572, allocations: 4 kB / 0.6405 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/0.575, allocations: 5.993 MB / 0.6464 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005564/0.5756, allocations: 203.4 kB / 0.6466 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/0.576, allocations: 20 kB / 0.6466 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.5774, allocations: 155.8 kB / 0.6467 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008324/0.5783, allocations: 212.6 kB / 0.6469 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.5784, allocations: 27.98 kB / 0.647 GB, free: 15.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009265/0.5794, allocations: 0.593 MB / 0.6476 GB, free: 15.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5794, allocations: 4 kB / 0.6476 GB, free: 15.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001682/0.5811, allocations: 443.4 kB / 0.648 GB, free: 14.87 MB / 462.1 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.0003538/0.5814, allocations: 129 kB / 0.6481 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007853/0.5893, allocations: 2.769 MB / 0.6508 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5893, allocations: 0 / 0.6508 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005265/0.5946, allocations: 1.806 MB / 0.6526 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.5956, allocations: 88.94 kB / 0.6527 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.6, allocations: 2.556 MB / 0.6552 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/0.6008, allocations: 1.099 MB / 0.6562 GB, free: 6.352 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004103/0.6012, allocations: 90.77 kB / 0.6563 GB, free: 6.258 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.6015, allocations: 63.41 kB / 0.6564 GB, free: 6.195 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6015, allocations: 0 / 0.6564 GB, free: 6.195 MB / 462.1 MB Notification: Performance of Templates: time 0.03511/0.6366, allocations: 20.45 MB / 0.6763 GB, free: 1.758 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: