Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 173.4 kB / 16.07 MB, free: 5.574 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.378/1.378, allocations: 222.9 MB / 239.7 MB, free: 10.19 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.0008073/0.0008072, allocations: 97.97 kB / 290.5 MB, free: 11.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4701/0.4701, allocations: 78.43 MB / 419.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003862, allocations: 12.22 kB / 499.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3259, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005844/0.3318, allocations: 6.813 MB / 0.5612 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.3353, allocations: 1.923 MB / 0.563 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006433/0.336, allocations: 15.94 kB / 0.5631 GB, free: 11.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.3364, allocations: 166.9 kB / 0.5632 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.3379, allocations: 0.6294 MB / 0.5638 GB, free: 10.64 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001108/0.339, allocations: 0.5828 MB / 0.5644 GB, free: 10.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.34, allocations: 1.355 MB / 0.5657 GB, free: 8.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.3404, allocations: 289.3 kB / 0.566 GB, free: 8.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004487/0.3408, allocations: 0.5248 MB / 0.5665 GB, free: 7.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.3413, allocations: 0.6568 MB / 0.5672 GB, free: 7.227 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.811e-05/0.3414, allocations: 52 kB / 0.5672 GB, free: 7.176 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.3418, allocations: 191.8 kB / 0.5674 GB, free: 6.988 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.3419, allocations: 222.8 kB / 0.5676 GB, free: 6.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.3423, allocations: 0.5588 MB / 0.5681 GB, free: 6.207 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.343, allocations: 1.108 MB / 0.5692 GB, free: 5.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.343, allocations: 0 / 0.5692 GB, free: 5.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.343, allocations: 4 kB / 0.5692 GB, free: 5.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.343, allocations: 0 / 0.5692 GB, free: 5.094 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006342/0.3493, allocations: 2.319 MB / 0.5715 GB, free: 2.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3494, allocations: 8.031 kB / 0.5715 GB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.354, allocations: 0.7749 MB / 0.5723 GB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.3551, allocations: 0.7763 MB / 0.573 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.3553, allocations: 260.2 kB / 0.5733 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.3554, allocations: 76 kB / 0.5733 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.3574, allocations: 1.085 MB / 0.5744 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.3575, allocations: 3.938 kB / 0.5744 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.3576, allocations: 32 kB / 0.5744 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.3576, allocations: 19.98 kB / 0.5744 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.36, allocations: 1.124 MB / 0.5755 GB, free: 14.47 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.005806/0.3658, allocations: 3.463 MB / 0.5789 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.3679, allocations: 1.44 MB / 0.5803 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.3694, allocations: 0.7852 MB / 0.5811 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.3695, allocations: 16.98 kB / 0.5811 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3696, allocations: 43.56 kB / 0.5812 GB, free: 8.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 3.426e-06/0.3696, allocations: 0 / 0.5812 GB, free: 8.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02377/0.3934, allocations: 6.613 MB / 0.5876 GB, free: 1.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.3935, allocations: 68.34 kB / 0.5877 GB, free: 1.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.3947, allocations: 0.8883 MB / 0.5886 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.395, allocations: 41.7 kB / 0.5886 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.3954, allocations: 0.489 MB / 0.5891 GB, free: 264 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.3958, allocations: 351.1 kB / 0.5894 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.396, allocations: 109.7 kB / 0.5895 GB, free: 15.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3962, allocations: 353.9 kB / 0.5898 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.3977, allocations: 0.7287 MB / 0.5906 GB, free: 14.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.3994, allocations: 0.8618 MB / 0.5914 GB, free: 13.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/0.4173, allocations: 4.853 MB / 0.5961 GB, free: 8.934 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.4173, allocations: 0 / 0.5961 GB, free: 8.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01326/0.4306, allocations: 4.277 MB / 0.6003 GB, free: 4.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.4307, allocations: 8 kB / 0.6003 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4307, allocations: 0 / 0.6003 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005727/0.4364, allocations: 1.733 MB / 0.602 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.4376, allocations: 227.7 kB / 0.6022 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/0.4566, allocations: 8.341 MB / 0.6104 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.4581, allocations: 174.8 kB / 0.6105 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4582, allocations: 47.98 kB / 0.6106 GB, free: 9.973 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 (117): * Single equations (assignments): 116 * 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.0004736/0.4587, allocations: 233.7 kB / 0.6108 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.4589, allocations: 122.5 kB / 0.6109 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.4715, allocations: 4.014 MB / 0.6148 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.4716, allocations: 8 kB / 0.6149 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4716, allocations: 0 / 0.6149 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/0.4716, allocations: 3.984 kB / 0.6149 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.4863, allocations: 5.61 MB / 0.6203 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.4863, allocations: 3.938 kB / 0.6203 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.4871, allocations: 135.8 kB / 0.6205 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005626/0.4928, allocations: 1.741 MB / 0.6222 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/0.493, allocations: 19.98 kB / 0.6222 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/0.5092, allocations: 7.338 MB / 0.6294 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5093, allocations: 0 / 0.6294 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/0.5239, allocations: 4.958 MB / 0.6342 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.5243, allocations: 199.4 kB / 0.6344 GB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.5245, allocations: 16 kB / 0.6344 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009446/0.5254, allocations: 111.8 kB / 0.6345 GB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006671/0.5261, allocations: 220.6 kB / 0.6347 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-05/0.5262, allocations: 24.08 kB / 0.6347 GB, free: 0.875 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006923/0.5269, allocations: 0.593 MB / 0.6353 GB, free: 280 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5269, allocations: 0 / 0.6353 GB, free: 280 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001184/0.528, allocations: 435.6 kB / 0.6357 GB, free: 15.84 MB / 458.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 (65): * Single equations (assignments): 64 * 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.0002548/0.5283, allocations: 139 kB / 0.6359 GB, free: 15.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006212/0.5345, allocations: 2.436 MB / 0.6383 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5346, allocations: 0 / 0.6383 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004374/0.5389, allocations: 1.554 MB / 0.6398 GB, free: 11.69 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.5397, allocations: 94.42 kB / 0.6399 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.5434, allocations: 2.524 MB / 0.6423 GB, free: 9.039 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007287/0.5441, allocations: 1.103 MB / 0.6434 GB, free: 7.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.5444, allocations: 71.36 kB / 0.6435 GB, free: 7.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.322e-06/0.5444, allocations: 0 / 0.6435 GB, free: 7.84 MB / 458.7 MB Notification: Performance of Templates: time 0.02439/0.5688, allocations: 19.93 MB / 0.6629 GB, free: 3.891 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)