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.001021/0.001021, allocations: 107.8 kB / 16.37 MB, free: 6.477 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.283/1.283, allocations: 222.9 MB / 240 MB, free: 4.547 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.001231/0.001231, allocations: 188.5 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4865/0.4865, allocations: 91.9 MB / 432.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 80.08 kB / 0.5033 GB, free: 7.035 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3223, allocations: 71.27 MB / 0.5729 GB, free: 37.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004689/0.327, allocations: 5.817 MB / 0.5786 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.3298, allocations: 1.77 MB / 0.5803 GB, free: 32.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.3301, allocations: 8.906 kB / 0.5803 GB, free: 32.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.3305, allocations: 205.2 kB / 0.5805 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.3317, allocations: 0.6799 MB / 0.5812 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000969/0.3327, allocations: 0.5737 MB / 0.5817 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008749/0.3336, allocations: 1.258 MB / 0.5829 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.3339, allocations: 276.1 kB / 0.5832 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.3343, allocations: 0.5222 MB / 0.5837 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/0.3348, allocations: 0.6407 MB / 0.5843 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.922e-05/0.3349, allocations: 91.41 kB / 0.5844 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.3353, allocations: 217.3 kB / 0.5846 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3354, allocations: 244.6 kB / 0.5849 GB, free: 30.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.3357, allocations: 0.5496 MB / 0.5854 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008968/0.3367, allocations: 1.36 MB / 0.5867 GB, free: 29.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3367, allocations: 0 / 0.5867 GB, free: 29.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3367, allocations: 0 / 0.5867 GB, free: 29.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3367, allocations: 2.219 kB / 0.5867 GB, free: 29.35 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.006491/0.3432, allocations: 2.346 MB / 0.589 GB, free: 28.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3432, allocations: 9.531 kB / 0.589 GB, free: 28.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/0.3479, allocations: 0.7571 MB / 0.5898 GB, free: 28.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009317/0.3488, allocations: 0.7133 MB / 0.5905 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.349, allocations: 244.4 kB / 0.5907 GB, free: 27.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.3492, allocations: 68.19 kB / 0.5908 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.3509, allocations: 0.9634 MB / 0.5917 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3509, allocations: 3.938 kB / 0.5917 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/0.351, allocations: 25.94 kB / 0.5917 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.351, allocations: 15.94 kB / 0.5918 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.3528, allocations: 0.9771 MB / 0.5927 GB, free: 26.7 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.004588/0.3574, allocations: 3.19 MB / 0.5958 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.3591, allocations: 1.31 MB / 0.5971 GB, free: 23.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.3603, allocations: 0.7072 MB / 0.5978 GB, free: 23.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.922e-05/0.3604, allocations: 9.875 kB / 0.5978 GB, free: 23.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.3604, allocations: 39.91 kB / 0.5978 GB, free: 23.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.515e-06/0.3604, allocations: 0 / 0.5978 GB, free: 23.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02361/0.384, allocations: 6.477 MB / 0.6042 GB, free: 22.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.3841, allocations: 64.59 kB / 0.6042 GB, free: 22.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009646/0.3851, allocations: 0.7953 MB / 0.605 GB, free: 22.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.3852, allocations: 41.52 kB / 0.605 GB, free: 21.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.3854, allocations: 436.4 kB / 0.6055 GB, free: 21.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.3856, allocations: 307.2 kB / 0.6058 GB, free: 21.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/0.386, allocations: 185.2 kB / 0.6059 GB, free: 21.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.3861, allocations: 348.1 kB / 0.6063 GB, free: 20.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.3874, allocations: 0.6557 MB / 0.6069 GB, free: 20.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3888, allocations: 0.7858 MB / 0.6077 GB, free: 20.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/0.4055, allocations: 4.512 MB / 0.6121 GB, free: 19.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.4056, allocations: 6.344 kB / 0.6121 GB, free: 19.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01245/0.418, allocations: 4.074 MB / 0.6161 GB, free: 17.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4181, allocations: 6.844 kB / 0.6161 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.4181, allocations: 2.562 kB / 0.6161 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005235/0.4233, allocations: 1.729 MB / 0.6178 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008933/0.4242, allocations: 191.7 kB / 0.6179 GB, free: 16.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/0.4412, allocations: 9.05 MB / 0.6268 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.4425, allocations: 151 kB / 0.6269 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/0.4426, allocations: 36 kB / 0.627 GB, free: 6.668 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.0003596/0.443, allocations: 235.8 kB / 0.6272 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.4431, allocations: 102.7 kB / 0.6273 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/0.4534, allocations: 3.805 MB / 0.631 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.4534, allocations: 15.92 kB / 0.631 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4534, allocations: 0 / 0.631 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.4534, allocations: 11.92 kB / 0.631 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.4661, allocations: 5.337 MB / 0.6362 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.4662, allocations: 4 kB / 0.6362 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.4667, allocations: 87.89 kB / 0.6363 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005386/0.4721, allocations: 1.737 MB / 0.638 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.4723, allocations: 12 kB / 0.638 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.4894, allocations: 8.065 MB / 0.6459 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4894, allocations: 0 / 0.6459 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/0.5028, allocations: 4.693 MB / 0.6505 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.5032, allocations: 191.6 kB / 0.6507 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.5033, allocations: 16.09 kB / 0.6507 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008751/0.5042, allocations: 87.89 kB / 0.6508 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005907/0.5048, allocations: 212.6 kB / 0.651 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-05/0.5049, allocations: 23.98 kB / 0.651 GB, free: 13.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006092/0.5055, allocations: 0.5342 MB / 0.6515 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5055, allocations: 0 / 0.6515 GB, free: 13.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001041/0.5065, allocations: 407.5 kB / 0.6519 GB, free: 12.76 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.0002517/0.5068, allocations: 127.2 kB / 0.652 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005792/0.5126, allocations: 2.297 MB / 0.6543 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5126, allocations: 0.5625 kB / 0.6543 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004091/0.5167, allocations: 1.515 MB / 0.6558 GB, free: 8.781 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.5174, allocations: 75.34 kB / 0.6558 GB, free: 8.707 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.5205, allocations: 1.785 MB / 0.6576 GB, free: 6.902 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.5211, allocations: 1.033 MB / 0.6586 GB, free: 5.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002546/0.5214, allocations: 74.31 kB / 0.6587 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.5216, allocations: 63.42 kB / 0.6587 GB, free: 5.711 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5216, allocations: 0 / 0.6587 GB, free: 5.711 MB / 462.1 MB Notification: Performance of Templates: time 0.03067/0.5523, allocations: 22.22 MB / 0.6804 GB, free: 15.5 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)