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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 182.9 kB / 15.98 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.9 MB / 239.7 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009665/0.0009664, allocations: 98.34 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4187/0.4187, allocations: 78.49 MB / 418.5 MB, free: 8.824 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 68.22 kB / 497.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2638, allocations: 68.12 MB / 0.5523 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.00432/0.2681, allocations: 6.137 MB / 0.5583 GB, free: 14.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.2702, allocations: 1.79 MB / 0.5601 GB, free: 12.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.2704, allocations: 15.94 kB / 0.5601 GB, free: 12.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.2707, allocations: 155 kB / 0.5602 GB, free: 12.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2718, allocations: 0.6178 MB / 0.5608 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008196/0.2726, allocations: 0.5247 MB / 0.5613 GB, free: 10.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000758/0.2734, allocations: 1.206 MB / 0.5625 GB, free: 9.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.2737, allocations: 249.7 kB / 0.5627 GB, free: 9.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.274, allocations: 0.4899 MB / 0.5632 GB, free: 8.977 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.2745, allocations: 0.6104 MB / 0.5638 GB, free: 8.363 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.062e-05/0.2746, allocations: 60 kB / 0.5639 GB, free: 8.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.2749, allocations: 183.9 kB / 0.5641 GB, free: 8.125 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.275, allocations: 214.9 kB / 0.5643 GB, free: 7.914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.2753, allocations: 0.5202 MB / 0.5648 GB, free: 7.391 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.2761, allocations: 1.3 MB / 0.566 GB, free: 6.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2761, allocations: 4 kB / 0.566 GB, free: 6.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2761, allocations: 4 kB / 0.566 GB, free: 6.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.2761, allocations: 3.938 kB / 0.566 GB, free: 6.074 MB / 378.7 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.006636/0.2828, allocations: 2.341 MB / 0.5683 GB, free: 3.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2828, allocations: 12.03 kB / 0.5683 GB, free: 3.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004462/0.2873, allocations: 0.7595 MB / 0.5691 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.2881, allocations: 0.7011 MB / 0.5698 GB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.2883, allocations: 256.2 kB / 0.57 GB, free: 1.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.2884, allocations: 67.91 kB / 0.5701 GB, free: 1.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.2901, allocations: 0.9599 MB / 0.571 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.2901, allocations: 7.875 kB / 0.571 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.2902, allocations: 24 kB / 0.571 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2902, allocations: 16 kB / 0.5711 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.2921, allocations: 0.9799 MB / 0.572 GB, free: 15.82 MB / 394.7 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.00497/0.2971, allocations: 3.186 MB / 0.5751 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.2991, allocations: 1.31 MB / 0.5764 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.3005, allocations: 0.707 MB / 0.5771 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.3006, allocations: 12.98 kB / 0.5771 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3006, allocations: 39.56 kB / 0.5771 GB, free: 10.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=83): time 2.806e-06/0.3007, allocations: 4 kB / 0.5772 GB, free: 10.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=83): time 0.0262/0.3269, allocations: 6.477 MB / 0.5835 GB, free: 3.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.3269, allocations: 64.41 kB / 0.5835 GB, free: 3.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009689/0.3279, allocations: 0.7906 MB / 0.5843 GB, free: 2.887 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.328, allocations: 41.7 kB / 0.5844 GB, free: 2.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.3283, allocations: 436.4 kB / 0.5848 GB, free: 2.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.3286, allocations: 299.6 kB / 0.5851 GB, free: 2.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/0.329, allocations: 194.8 kB / 0.5852 GB, free: 1.914 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3291, allocations: 341.9 kB / 0.5856 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.3305, allocations: 0.6663 MB / 0.5862 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.3321, allocations: 0.7796 MB / 0.587 GB, free: 96 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/0.3499, allocations: 4.523 MB / 0.5914 GB, free: 11.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3499, allocations: 0 / 0.5914 GB, free: 11.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01347/0.3634, allocations: 4.078 MB / 0.5954 GB, free: 7.441 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3634, allocations: 9.25 kB / 0.5954 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.3634, allocations: 4 kB / 0.5954 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006038/0.3695, allocations: 1.725 MB / 0.5971 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009118/0.3704, allocations: 187.7 kB / 0.5973 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/0.3901, allocations: 8.343 MB / 0.6054 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.3915, allocations: 151.1 kB / 0.6055 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.612e-05/0.3916, allocations: 35.98 kB / 0.6056 GB, free: 12.85 MB / 426.7 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.0003763/0.392, allocations: 221.7 kB / 0.6058 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.3921, allocations: 106.6 kB / 0.6059 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.4056, allocations: 3.825 MB / 0.6096 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.4056, allocations: 8 kB / 0.6096 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.4056, allocations: 0 / 0.6096 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.4056, allocations: 3.984 kB / 0.6096 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.4206, allocations: 5.38 MB / 0.6149 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4206, allocations: 0 / 0.6149 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.4211, allocations: 91.89 kB / 0.615 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006211/0.4274, allocations: 1.737 MB / 0.6167 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.4275, allocations: 20 kB / 0.6167 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.4454, allocations: 7.351 MB / 0.6239 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4454, allocations: 8 kB / 0.6239 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09244/0.5378, allocations: 31.13 MB / 0.6543 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.5383, allocations: 187.7 kB / 0.6545 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.5386, allocations: 16 kB / 0.6545 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.5398, allocations: 91.89 kB / 0.6546 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008342/0.5407, allocations: 192.7 kB / 0.6547 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.5408, allocations: 23.94 kB / 0.6548 GB, free: 9.809 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008705/0.5417, allocations: 0.5341 MB / 0.6553 GB, free: 9.281 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5417, allocations: 0 / 0.6553 GB, free: 9.281 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002078/0.5438, allocations: 0.5581 MB / 0.6558 GB, free: 8.723 MB / 474.7 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.0003161/0.5441, allocations: 130.8 kB / 0.656 GB, free: 8.586 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006551/0.5507, allocations: 2.259 MB / 0.6582 GB, free: 6.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5507, allocations: 4.062 kB / 0.6582 GB, free: 6.316 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004814/0.5555, allocations: 1.474 MB / 0.6596 GB, free: 4.824 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.5563, allocations: 79.28 kB / 0.6597 GB, free: 4.746 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00743/0.5637, allocations: 3.402 MB / 0.663 GB, free: 1.293 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.5643, allocations: 1.071 MB / 0.6641 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003201/0.5646, allocations: 82.3 kB / 0.6641 GB, free: 112 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.5649, allocations: 55.42 kB / 0.6642 GB, free: 56 kB / 474.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5649, allocations: 0 / 0.6642 GB, free: 56 kB / 474.7 MB Notification: Performance of Templates: time 0.2627/0.8276, allocations: 29.31 MB / 0.6928 GB, free: 112.3 MB / 490.7 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)