Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008504/0.0008504, allocations: 169.2 kB / 16.07 MB, free: 5.605 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.324/1.324, allocations: 222.9 MB / 239.7 MB, free: 10.17 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.0007695/0.0007694, allocations: 99.03 kB / 290.5 MB, free: 11.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4298/0.4298, allocations: 78.41 MB / 419.6 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004079, allocations: 8.219 kB / 499.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3205, allocations: 68.76 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005149/0.3257, allocations: 6.708 MB / 0.5611 GB, free: 13.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.329, allocations: 1.896 MB / 0.5629 GB, free: 11.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000712/0.3297, allocations: 23.94 kB / 0.5629 GB, free: 11.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.3302, allocations: 158.9 kB / 0.5631 GB, free: 11.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.3316, allocations: 0.6504 MB / 0.5637 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3327, allocations: 0.5524 MB / 0.5643 GB, free: 10.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.3338, allocations: 1.327 MB / 0.5656 GB, free: 8.879 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.3341, allocations: 297.2 kB / 0.5658 GB, free: 8.582 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.3346, allocations: 0.5092 MB / 0.5663 GB, free: 8.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.335, allocations: 0.6607 MB / 0.567 GB, free: 7.406 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-05/0.3351, allocations: 52 kB / 0.567 GB, free: 7.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.3355, allocations: 179.9 kB / 0.5672 GB, free: 7.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.3356, allocations: 218.8 kB / 0.5674 GB, free: 6.965 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.3359, allocations: 0.5626 MB / 0.568 GB, free: 6.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006668/0.3366, allocations: 1.093 MB / 0.569 GB, free: 5.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3366, allocations: 4 kB / 0.569 GB, free: 5.301 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3366, allocations: 0 / 0.569 GB, free: 5.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.3367, allocations: 0 / 0.569 GB, free: 5.301 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006337/0.343, allocations: 2.299 MB / 0.5713 GB, free: 2.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.343, allocations: 8.031 kB / 0.5713 GB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/0.3477, allocations: 0.7827 MB / 0.572 GB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/0.3485, allocations: 0.7566 MB / 0.5728 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.3488, allocations: 260.2 kB / 0.573 GB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.3489, allocations: 80 kB / 0.5731 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.3508, allocations: 1.069 MB / 0.5742 GB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3508, allocations: 3.938 kB / 0.5742 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.503e-05/0.3509, allocations: 28 kB / 0.5742 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.3509, allocations: 20 kB / 0.5742 GB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.3533, allocations: 1.124 MB / 0.5753 GB, free: 14.72 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.005395/0.3587, allocations: 3.436 MB / 0.5787 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.3607, allocations: 1.416 MB / 0.58 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.3622, allocations: 0.7812 MB / 0.5808 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.3624, allocations: 13 kB / 0.5808 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3624, allocations: 43.5 kB / 0.5809 GB, free: 8.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.727e-06/0.3624, allocations: 3.984 kB / 0.5809 GB, free: 8.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.02469/0.3871, allocations: 6.758 MB / 0.5875 GB, free: 1.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.3872, allocations: 64.34 kB / 0.5875 GB, free: 1.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.3884, allocations: 0.8838 MB / 0.5884 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.3886, allocations: 41.7 kB / 0.5884 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.389, allocations: 0.4889 MB / 0.5889 GB, free: 440 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.3894, allocations: 343.1 kB / 0.5892 GB, free: 92 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3895, allocations: 101.6 kB / 0.5893 GB, free: 15.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3897, allocations: 349.9 kB / 0.5897 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.3912, allocations: 0.7053 MB / 0.5903 GB, free: 14.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.3928, allocations: 0.8423 MB / 0.5912 GB, free: 14.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/0.4104, allocations: 4.779 MB / 0.5958 GB, free: 9.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4104, allocations: 0 / 0.5958 GB, free: 9.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01289/0.4233, allocations: 4.261 MB / 0.6 GB, free: 4.969 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.4234, allocations: 4 kB / 0.6 GB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.4234, allocations: 4 kB / 0.6 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005979/0.4294, allocations: 1.862 MB / 0.6018 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.4306, allocations: 203.8 kB / 0.602 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/0.4493, allocations: 8.365 MB / 0.6102 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4507, allocations: 178.9 kB / 0.6104 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/0.4508, allocations: 39.98 kB / 0.6104 GB, free: 10.18 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.00046/0.4513, allocations: 236 kB / 0.6106 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.4515, allocations: 122.4 kB / 0.6107 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.4636, allocations: 4.01 MB / 0.6147 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4637, allocations: 8 kB / 0.6147 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4637, allocations: 0 / 0.6147 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.4637, allocations: 3.984 kB / 0.6147 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.4777, allocations: 5.622 MB / 0.6202 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4778, allocations: 0 / 0.6202 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/0.4785, allocations: 131.8 kB / 0.6203 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005544/0.484, allocations: 1.737 MB / 0.622 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.954e-05/0.4841, allocations: 20 kB / 0.622 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01631/0.5005, allocations: 7.363 MB / 0.6292 GB, free: 6.625 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5005, allocations: 3.938 kB / 0.6292 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.5151, allocations: 4.962 MB / 0.634 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.5155, allocations: 199.4 kB / 0.6342 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.5157, allocations: 16 kB / 0.6342 GB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009579/0.5167, allocations: 115.9 kB / 0.6344 GB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007269/0.5174, allocations: 208.6 kB / 0.6345 GB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-05/0.5175, allocations: 27.98 kB / 0.6346 GB, free: 1.059 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007285/0.5182, allocations: 0.5927 MB / 0.6352 GB, free: 468 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.5182, allocations: 0 / 0.6352 GB, free: 468 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001142/0.5194, allocations: 435.4 kB / 0.6356 GB, free: 32 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0002804/0.5196, allocations: 143 kB / 0.6357 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006517/0.5262, allocations: 2.417 MB / 0.6381 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5262, allocations: 0 / 0.6381 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00455/0.5308, allocations: 1.533 MB / 0.6396 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.5317, allocations: 88.34 kB / 0.6396 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.5353, allocations: 2.392 MB / 0.642 GB, free: 9.387 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.5359, allocations: 1.088 MB / 0.643 GB, free: 8.273 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.5362, allocations: 71.36 kB / 0.6431 GB, free: 8.207 MB / 458.7 MB Notification: Performance of SimCode: time 9.21e-07/0.5362, allocations: 3.938 kB / 0.6431 GB, free: 8.203 MB / 458.7 MB Notification: Performance of Templates: time 0.02367/0.5599, allocations: 19.77 MB / 0.6624 GB, free: 4.418 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)