Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001083/0.001083, allocations: 100.2 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.278/1.278, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001181/0.001181, allocations: 176.1 kB / 290.2 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4425/0.4425, allocations: 79.45 MB / 420.7 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8 kB / 0.489 GB, free: 5.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 69.51 MB / 0.5569 GB, free: 36 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2122/0.3318, allocations: 5.676 MB / 0.5624 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.3351, allocations: 1.868 MB / 0.5642 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006116/0.3357, allocations: 18.28 kB / 0.5643 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.3361, allocations: 160.5 kB / 0.5644 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.3376, allocations: 0.6535 MB / 0.565 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3386, allocations: 0.5197 MB / 0.5656 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.3399, allocations: 0.928 MB / 0.5665 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.3403, allocations: 268 kB / 0.5667 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.3408, allocations: 0.501 MB / 0.5672 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.3414, allocations: 0.6258 MB / 0.5678 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.3415, allocations: 52.41 kB / 0.5679 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.3419, allocations: 166.1 kB / 0.568 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.342, allocations: 219.4 kB / 0.5682 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.3422, allocations: 224 kB / 0.5684 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009454/0.3431, allocations: 1.045 MB / 0.5695 GB, free: 35.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3432, allocations: 0.5625 kB / 0.5695 GB, free: 35.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3432, allocations: 5.031 kB / 0.5695 GB, free: 35.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.27e-05/0.3432, allocations: 3.938 kB / 0.5695 GB, free: 35.76 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.007302/0.3505, allocations: 2.4 MB / 0.5718 GB, free: 34.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3506, allocations: 12.92 kB / 0.5718 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004963/0.3555, allocations: 0.7902 MB / 0.5726 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.3568, allocations: 0.7219 MB / 0.5733 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/0.3571, allocations: 270.4 kB / 0.5736 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.3572, allocations: 90.34 kB / 0.5737 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.3594, allocations: 1.162 MB / 0.5748 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3594, allocations: 0 / 0.5748 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3595, allocations: 31.31 kB / 0.5748 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.3595, allocations: 22.98 kB / 0.5748 GB, free: 33.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.362, allocations: 1.232 MB / 0.576 GB, free: 33.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.005641/0.3676, allocations: 3.663 MB / 0.5796 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.3697, allocations: 1.522 MB / 0.5811 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.3698, allocations: 17.64 kB / 0.5811 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3698, allocations: 47.44 kB / 0.5812 GB, free: 30.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.387e-06/0.3698, allocations: 0 / 0.5812 GB, free: 30.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02864/0.3985, allocations: 8.482 MB / 0.5895 GB, free: 28.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.3986, allocations: 61.44 kB / 0.5895 GB, free: 28.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3997, allocations: 0.8866 MB / 0.5904 GB, free: 28.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.3999, allocations: 41.48 kB / 0.5904 GB, free: 28.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.4002, allocations: 492.7 kB / 0.5909 GB, free: 27.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.4005, allocations: 352.7 kB / 0.5912 GB, free: 27.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.4006, allocations: 25.12 kB / 0.5912 GB, free: 27.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.4007, allocations: 346.9 kB / 0.5916 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.4025, allocations: 0.8177 MB / 0.5924 GB, free: 26.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.4044, allocations: 0.952 MB / 0.5933 GB, free: 26.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.4062, allocations: 0.8686 MB / 0.5942 GB, free: 26.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4062, allocations: 0 / 0.5942 GB, free: 26.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01563/0.4218, allocations: 5.243 MB / 0.5993 GB, free: 24.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.4219, allocations: 10.14 kB / 0.5993 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.4219, allocations: 2.156 kB / 0.5993 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007039/0.4289, allocations: 2.093 MB / 0.6013 GB, free: 24.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.4302, allocations: 228.7 kB / 0.6015 GB, free: 24.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/0.4529, allocations: 9.977 MB / 0.6113 GB, free: 20.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.4548, allocations: 224.3 kB / 0.6115 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.455, allocations: 44.31 kB / 0.6115 GB, free: 19.93 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.0005639/0.4555, allocations: 230.9 kB / 0.6118 GB, free: 19.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.4558, allocations: 127.1 kB / 0.6119 GB, free: 19.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.4694, allocations: 4.958 MB / 0.6167 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.4694, allocations: 11.94 kB / 0.6167 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4695, allocations: 0 / 0.6167 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.4695, allocations: 7.984 kB / 0.6167 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.4841, allocations: 6.565 MB / 0.6232 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.4842, allocations: 4 kB / 0.6232 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.485, allocations: 143.8 kB / 0.6233 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00587/0.4909, allocations: 2.049 MB / 0.6253 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.4911, allocations: 24 kB / 0.6253 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.5089, allocations: 8.625 MB / 0.6337 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.509, allocations: 0 / 0.6337 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/0.5263, allocations: 5.996 MB / 0.6396 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.5267, allocations: 211.4 kB / 0.6398 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.5269, allocations: 16 kB / 0.6398 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.5281, allocations: 151.9 kB / 0.64 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/0.5288, allocations: 220.5 kB / 0.6402 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/0.5289, allocations: 24 kB / 0.6402 GB, free: 6.926 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008102/0.5297, allocations: 0.593 MB / 0.6408 GB, free: 6.324 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5297, allocations: 0 / 0.6408 GB, free: 6.324 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001348/0.5311, allocations: 449.3 kB / 0.6412 GB, free: 5.887 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.0002693/0.5313, allocations: 127.7 kB / 0.6413 GB, free: 5.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007299/0.5386, allocations: 2.781 MB / 0.644 GB, free: 2.969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5387, allocations: 0 / 0.644 GB, free: 2.969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005054/0.5437, allocations: 1.807 MB / 0.6458 GB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/0.5444, allocations: 64.42 kB / 0.6459 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.5479, allocations: 2.453 MB / 0.6483 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.5485, allocations: 1.126 MB / 0.6494 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003597/0.5489, allocations: 95.3 kB / 0.6495 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.5491, allocations: 59.42 kB / 0.6495 GB, free: 13.34 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5491, allocations: 0 / 0.6495 GB, free: 13.34 MB / 462.1 MB Notification: Performance of Templates: time 0.02893/0.578, allocations: 19.96 MB / 0.669 GB, free: 9.551 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)