Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 239.2 MB, free: 4.637 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.001281/0.001281, allocations: 191.6 kB / 289.6 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5116/0.5116, allocations: 91.9 MB / 431.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 75.88 kB / 0.5019 GB, free: 7.762 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3471, allocations: 71.26 MB / 0.5715 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005367/0.3525, allocations: 5.813 MB / 0.5771 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.3556, allocations: 1.765 MB / 0.5789 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.3562, allocations: 18.81 kB / 0.5789 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.3566, allocations: 209.4 kB / 0.5791 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.3582, allocations: 0.676 MB / 0.5797 GB, free: 31.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3592, allocations: 0.5812 MB / 0.5803 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.3603, allocations: 1.245 MB / 0.5815 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.3606, allocations: 272.3 kB / 0.5818 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.3611, allocations: 0.5269 MB / 0.5823 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.3616, allocations: 0.6396 MB / 0.5829 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.3618, allocations: 89.22 kB / 0.583 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.3622, allocations: 224.2 kB / 0.5832 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3624, allocations: 246.4 kB / 0.5835 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.3628, allocations: 0.5429 MB / 0.584 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.3639, allocations: 1.346 MB / 0.5853 GB, free: 29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3639, allocations: 0 / 0.5853 GB, free: 29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3639, allocations: 0 / 0.5853 GB, free: 29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3639, allocations: 0 / 0.5853 GB, free: 29 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007116/0.371, allocations: 2.348 MB / 0.5876 GB, free: 27.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3711, allocations: 12.42 kB / 0.5876 GB, free: 27.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004677/0.3758, allocations: 0.7563 MB / 0.5883 GB, free: 27.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009015/0.3767, allocations: 0.7001 MB / 0.589 GB, free: 27.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.3769, allocations: 259.7 kB / 0.5893 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.377, allocations: 69.09 kB / 0.5893 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.3789, allocations: 0.96 MB / 0.5903 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3789, allocations: 3.938 kB / 0.5903 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.214e-05/0.379, allocations: 26.03 kB / 0.5903 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.379, allocations: 15.53 kB / 0.5903 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.381, allocations: 0.9797 MB / 0.5913 GB, free: 26.34 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.004785/0.3858, allocations: 3.213 MB / 0.5944 GB, free: 24.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.3876, allocations: 1.305 MB / 0.5957 GB, free: 23.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.3889, allocations: 0.7046 MB / 0.5964 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.41e-05/0.389, allocations: 12.67 kB / 0.5964 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.389, allocations: 42.84 kB / 0.5964 GB, free: 23.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.575e-06/0.389, allocations: 0 / 0.5964 GB, free: 23.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02669/0.4157, allocations: 6.475 MB / 0.6027 GB, free: 22.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.4158, allocations: 65.03 kB / 0.6028 GB, free: 21.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.4172, allocations: 0.7924 MB / 0.6036 GB, free: 21.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.4174, allocations: 45.48 kB / 0.6036 GB, free: 21.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.4177, allocations: 436.7 kB / 0.604 GB, free: 21.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.418, allocations: 294.5 kB / 0.6043 GB, free: 21.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.4184, allocations: 189.2 kB / 0.6045 GB, free: 20.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.4185, allocations: 344.3 kB / 0.6048 GB, free: 20.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.42, allocations: 0.6593 MB / 0.6055 GB, free: 20.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.4217, allocations: 0.7827 MB / 0.6062 GB, free: 20.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01864/0.4404, allocations: 4.526 MB / 0.6107 GB, free: 18.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.4404, allocations: 1.156 kB / 0.6107 GB, free: 18.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01393/0.4543, allocations: 4.079 MB / 0.6146 GB, free: 17.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.4544, allocations: 6 kB / 0.6147 GB, free: 17.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4544, allocations: 6.406 kB / 0.6147 GB, free: 17.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005943/0.4604, allocations: 1.735 MB / 0.6164 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/0.4614, allocations: 183.7 kB / 0.6165 GB, free: 16.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01827/0.4797, allocations: 9.062 MB / 0.6254 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.4815, allocations: 151.1 kB / 0.6255 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/0.4816, allocations: 39.98 kB / 0.6256 GB, free: 6.66 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 (101): * Single equations (assignments): 100 * 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.0005234/0.4822, allocations: 230.9 kB / 0.6258 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.4824, allocations: 102.7 kB / 0.6259 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.4938, allocations: 3.821 MB / 0.6296 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.4938, allocations: 15.94 kB / 0.6296 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4939, allocations: 0 / 0.6296 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.4939, allocations: 3.984 kB / 0.6296 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.5078, allocations: 5.348 MB / 0.6349 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.5079, allocations: 0 / 0.6349 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.5084, allocations: 91.89 kB / 0.6349 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005944/0.5144, allocations: 1.737 MB / 0.6366 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.5145, allocations: 19.98 kB / 0.6367 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/0.5336, allocations: 8.069 MB / 0.6445 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5336, allocations: 0 / 0.6445 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/0.5487, allocations: 4.696 MB / 0.6491 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/0.5493, allocations: 191.6 kB / 0.6493 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004328/0.5498, allocations: 12 kB / 0.6493 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.551, allocations: 91.89 kB / 0.6494 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006947/0.5517, allocations: 208.6 kB / 0.6496 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.5518, allocations: 16 kB / 0.6496 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007874/0.5526, allocations: 0.5303 MB / 0.6501 GB, free: 13.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5526, allocations: 0 / 0.6501 GB, free: 13.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001703/0.5544, allocations: 411.5 kB / 0.6505 GB, free: 12.74 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 (50): * Single equations (assignments): 49 * 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.0003392/0.5547, allocations: 127.2 kB / 0.6506 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006946/0.5617, allocations: 2.328 MB / 0.6529 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5617, allocations: 0 / 0.6529 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004774/0.5665, allocations: 1.515 MB / 0.6544 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/0.5674, allocations: 81.36 kB / 0.6545 GB, free: 8.656 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/0.5715, allocations: 1.81 MB / 0.6562 GB, free: 6.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/0.5723, allocations: 1.029 MB / 0.6573 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003547/0.5727, allocations: 82.31 kB / 0.6573 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.5729, allocations: 59.42 kB / 0.6574 GB, free: 5.629 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5729, allocations: 0 / 0.6574 GB, free: 5.629 MB / 462.1 MB Notification: Performance of Templates: time 0.03589/0.6088, allocations: 22.2 MB / 0.6791 GB, free: 15.43 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)