Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 110.6 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001287, allocations: 188.5 kB / 290.3 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4358/0.4358, allocations: 78.52 MB / 419 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 75.89 kB / 498.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1175, allocations: 68.17 MB / 0.5538 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2044/0.322, allocations: 6.477 MB / 0.5601 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.3253, allocations: 1.869 MB / 0.5619 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009181/0.3263, allocations: 9.344 kB / 0.5619 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006891/0.327, allocations: 232.5 kB / 0.5622 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.329, allocations: 0.7082 MB / 0.5629 GB, free: 35.25 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.00126/0.3303, allocations: 0.6232 MB / 0.5635 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.3316, allocations: 1.422 MB / 0.5649 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.332, allocations: 325.6 kB / 0.5652 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005168/0.3325, allocations: 0.5968 MB / 0.5657 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005592/0.3331, allocations: 0.726 MB / 0.5665 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.3332, allocations: 103.8 kB / 0.5666 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.3336, allocations: 233.9 kB / 0.5668 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.3338, allocations: 278.8 kB / 0.567 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.3342, allocations: 0.6267 MB / 0.5677 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3353, allocations: 1.527 MB / 0.5691 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3353, allocations: 1.656 kB / 0.5692 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3353, allocations: 0 / 0.5692 GB, free: 33.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.3353, allocations: 2.906 kB / 0.5692 GB, free: 33.79 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.006675/0.342, allocations: 2.558 MB / 0.5717 GB, free: 32.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.342, allocations: 8.781 kB / 0.5717 GB, free: 32.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004641/0.3467, allocations: 0.7771 MB / 0.5724 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009919/0.3477, allocations: 0.7742 MB / 0.5732 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.3479, allocations: 257.5 kB / 0.5734 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.348, allocations: 83.66 kB / 0.5735 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.35, allocations: 1.087 MB / 0.5746 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.35, allocations: 3.938 kB / 0.5746 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.487e-05/0.3501, allocations: 30.16 kB / 0.5746 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.3501, allocations: 18.34 kB / 0.5746 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.3523, allocations: 1.123 MB / 0.5757 GB, free: 32.12 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.004639/0.3569, allocations: 3.446 MB / 0.5791 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.3586, allocations: 1.431 MB / 0.5805 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.36, allocations: 0.7857 MB / 0.5812 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.3601, allocations: 12.5 kB / 0.5813 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3601, allocations: 46.69 kB / 0.5813 GB, free: 29.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.115e-06/0.3601, allocations: 0.8438 kB / 0.5813 GB, free: 29.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02308/0.3832, allocations: 6.607 MB / 0.5877 GB, free: 28.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.3833, allocations: 62.44 kB / 0.5878 GB, free: 28.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3844, allocations: 0.8891 MB / 0.5887 GB, free: 28.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.3845, allocations: 42.3 kB / 0.5887 GB, free: 27.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.3848, allocations: 496.3 kB / 0.5892 GB, free: 27.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.385, allocations: 353 kB / 0.5895 GB, free: 27.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.3854, allocations: 207.6 kB / 0.5897 GB, free: 27.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.3855, allocations: 351.2 kB / 0.5901 GB, free: 26.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.3871, allocations: 0.7297 MB / 0.5908 GB, free: 26.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.3887, allocations: 0.8663 MB / 0.5916 GB, free: 26.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01826/0.407, allocations: 4.856 MB / 0.5964 GB, free: 24.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.407, allocations: 0 / 0.5964 GB, free: 24.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01381/0.4208, allocations: 4.283 MB / 0.6005 GB, free: 23.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.4209, allocations: 9.562 kB / 0.6006 GB, free: 23.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4209, allocations: 4.094 kB / 0.6006 GB, free: 23.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006201/0.4271, allocations: 1.729 MB / 0.6022 GB, free: 23.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.4286, allocations: 228.3 kB / 0.6025 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/0.4489, allocations: 9.045 MB / 0.6113 GB, free: 18.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.4505, allocations: 184.3 kB / 0.6115 GB, free: 18.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.4507, allocations: 39.48 kB / 0.6115 GB, free: 18.43 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.0004765/0.4511, allocations: 240.4 kB / 0.6117 GB, free: 18.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.4514, allocations: 122.8 kB / 0.6119 GB, free: 18.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.463, allocations: 4.01 MB / 0.6158 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.463, allocations: 8 kB / 0.6158 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.463, allocations: 0 / 0.6158 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.463, allocations: 9.562 kB / 0.6158 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.4756, allocations: 5.603 MB / 0.6213 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.4757, allocations: 0 / 0.6213 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.4765, allocations: 131.8 kB / 0.6214 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005059/0.4815, allocations: 1.737 MB / 0.6231 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/0.4817, allocations: 24 kB / 0.6231 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/0.4973, allocations: 8.059 MB / 0.631 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4973, allocations: 0.875 kB / 0.631 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/0.5115, allocations: 4.956 MB / 0.6358 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.5119, allocations: 203.4 kB / 0.636 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.5121, allocations: 20 kB / 0.636 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.5132, allocations: 105.3 kB / 0.6361 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006889/0.5139, allocations: 220.7 kB / 0.6363 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.881e-05/0.514, allocations: 27.98 kB / 0.6364 GB, free: 9.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008295/0.5149, allocations: 0.593 MB / 0.6369 GB, free: 8.746 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5149, allocations: 0 / 0.6369 GB, free: 8.746 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001323/0.5162, allocations: 435.5 kB / 0.6374 GB, free: 8.316 MB / 446.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.000278/0.5165, allocations: 132.7 kB / 0.6375 GB, free: 8.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006799/0.5233, allocations: 2.493 MB / 0.6399 GB, free: 5.672 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5233, allocations: 0 / 0.6399 GB, free: 5.672 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004493/0.5278, allocations: 1.599 MB / 0.6415 GB, free: 4.066 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.5286, allocations: 93.11 kB / 0.6416 GB, free: 3.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.5325, allocations: 2.042 MB / 0.6436 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.5332, allocations: 1.099 MB / 0.6446 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003535/0.5336, allocations: 93.91 kB / 0.6447 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.5338, allocations: 67.42 kB / 0.6448 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5338, allocations: 0 / 0.6448 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of Templates: time 0.0341/0.5679, allocations: 23.43 MB / 0.6677 GB, free: 9.422 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)