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.0009344/0.0009343, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.27/1.27, allocations: 223.2 MB / 238.9 MB, free: 5.652 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.001107/0.001107, allocations: 193.1 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.452/0.452, allocations: 78.53 MB / 419.8 MB, free: 4.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003694, allocations: 19.94 kB / 499.7 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 69.35 MB / 0.5557 GB, free: 1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.222/0.359, allocations: 5.659 MB / 0.5612 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004195/0.3633, allocations: 1.852 MB / 0.563 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.3646, allocations: 13.69 kB / 0.563 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006766/0.3653, allocations: 158 kB / 0.5632 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002153/0.3675, allocations: 0.6549 MB / 0.5638 GB, free: 36.98 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.001155/0.3687, allocations: 0.5132 MB / 0.5643 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.37, allocations: 0.9199 MB / 0.5652 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.3704, allocations: 267.3 kB / 0.5655 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005388/0.3709, allocations: 0.5027 MB / 0.566 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005486/0.3715, allocations: 0.6284 MB / 0.5666 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.693e-05/0.3716, allocations: 50.94 kB / 0.5666 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.372, allocations: 169.8 kB / 0.5668 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.3722, allocations: 212.9 kB / 0.567 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.3724, allocations: 225.2 kB / 0.5672 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008466/0.3732, allocations: 1.056 MB / 0.5682 GB, free: 36.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3732, allocations: 0 / 0.5682 GB, free: 36.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.3732, allocations: 3.562 kB / 0.5682 GB, free: 36.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.3733, allocations: 0.6875 kB / 0.5682 GB, free: 36.32 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.007231/0.3805, allocations: 2.405 MB / 0.5706 GB, free: 35.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.3806, allocations: 10 kB / 0.5706 GB, free: 35.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/0.3855, allocations: 0.7879 MB / 0.5714 GB, free: 35.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.3868, allocations: 0.7256 MB / 0.5721 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.387, allocations: 267.9 kB / 0.5723 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.3872, allocations: 82.88 kB / 0.5724 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.3894, allocations: 1.157 MB / 0.5735 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3895, allocations: 2.562 kB / 0.5735 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.3896, allocations: 33.75 kB / 0.5736 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.3896, allocations: 17.44 kB / 0.5736 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.392, allocations: 1.239 MB / 0.5748 GB, free: 34.38 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.005329/0.3973, allocations: 3.637 MB / 0.5783 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.3992, allocations: 1.515 MB / 0.5798 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.737e-05/0.3994, allocations: 25 kB / 0.5798 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3994, allocations: 42.44 kB / 0.5799 GB, free: 31.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.366e-06/0.3994, allocations: 0 / 0.5799 GB, free: 31.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02644/0.4258, allocations: 8.171 MB / 0.5879 GB, free: 29.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.4259, allocations: 69.22 kB / 0.5879 GB, free: 29.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.4271, allocations: 0.8848 MB / 0.5888 GB, free: 29.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.4273, allocations: 45.61 kB / 0.5888 GB, free: 29.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.4276, allocations: 494.2 kB / 0.5893 GB, free: 28.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.4279, allocations: 353.4 kB / 0.5897 GB, free: 28.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.428, allocations: 20.97 kB / 0.5897 GB, free: 28.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.4281, allocations: 352.5 kB / 0.59 GB, free: 28.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.4297, allocations: 0.8198 MB / 0.5908 GB, free: 28.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.4315, allocations: 0.945 MB / 0.5917 GB, free: 27.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.4332, allocations: 0.8671 MB / 0.5926 GB, free: 27.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4332, allocations: 1 kB / 0.5926 GB, free: 27.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01502/0.4483, allocations: 5.246 MB / 0.5977 GB, free: 26.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4483, allocations: 8.578 kB / 0.5977 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4483, allocations: 1.562 kB / 0.5977 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006804/0.4551, allocations: 2.096 MB / 0.5998 GB, free: 25.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.4563, allocations: 232.7 kB / 0.6 GB, free: 25.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/0.4785, allocations: 9.968 MB / 0.6097 GB, free: 21.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.4802, allocations: 226.1 kB / 0.6099 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.4804, allocations: 43.08 kB / 0.61 GB, free: 21.49 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005744/0.481, allocations: 239.1 kB / 0.6102 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.4812, allocations: 119.5 kB / 0.6103 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.4945, allocations: 4.949 MB / 0.6151 GB, free: 17.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.4946, allocations: 8 kB / 0.6152 GB, free: 17.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4946, allocations: 8 kB / 0.6152 GB, free: 17.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.4946, allocations: 4.984 kB / 0.6152 GB, free: 17.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.5086, allocations: 6.544 MB / 0.6216 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.5087, allocations: 0 / 0.6216 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.5094, allocations: 151.8 kB / 0.6217 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005621/0.5151, allocations: 2.05 MB / 0.6237 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/0.5153, allocations: 16 kB / 0.6237 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/0.5319, allocations: 8.643 MB / 0.6322 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.532, allocations: 7.047 kB / 0.6322 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/0.548, allocations: 5.978 MB / 0.638 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/0.5484, allocations: 203.4 kB / 0.6382 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.5486, allocations: 16.88 kB / 0.6382 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.5497, allocations: 159.8 kB / 0.6384 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00066/0.5504, allocations: 216.6 kB / 0.6386 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/0.5505, allocations: 27.98 kB / 0.6386 GB, free: 8.711 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007832/0.5513, allocations: 0.5852 MB / 0.6392 GB, free: 8.117 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5513, allocations: 0 / 0.6392 GB, free: 8.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001339/0.5526, allocations: 447.4 kB / 0.6396 GB, free: 7.676 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002497/0.5529, allocations: 131.1 kB / 0.6397 GB, free: 7.543 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007121/0.56, allocations: 2.778 MB / 0.6424 GB, free: 4.762 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.56, allocations: 4.5 kB / 0.6424 GB, free: 4.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004946/0.565, allocations: 1.805 MB / 0.6442 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.5656, allocations: 77.02 kB / 0.6443 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.5692, allocations: 2.456 MB / 0.6467 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.5699, allocations: 1.123 MB / 0.6478 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003713/0.5702, allocations: 89.62 kB / 0.6479 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.5704, allocations: 63.42 kB / 0.6479 GB, free: 15.12 MB / 462.1 MB Notification: Performance of SimCode: time 1.011e-06/0.5705, allocations: 0 / 0.6479 GB, free: 15.12 MB / 462.1 MB Notification: Performance of Templates: time 0.02938/0.5998, allocations: 19.97 MB / 0.6674 GB, free: 11.32 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) Environment - environmentSimulation: