Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.335/1.335, allocations: 223.3 MB / 239 MB, free: 5.449 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.001154/0.001154, allocations: 184.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.447/0.447, allocations: 78.56 MB / 419.9 MB, free: 4.367 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003398, allocations: 12 kB / 499.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1231, allocations: 69.36 MB / 0.5558 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2277/0.3509, allocations: 5.952 MB / 0.5616 GB, free: 37.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.3543, allocations: 1.807 MB / 0.5634 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007548/0.3551, allocations: 10.66 kB / 0.5634 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.3555, allocations: 158.8 kB / 0.5636 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.3569, allocations: 0.5948 MB / 0.5641 GB, free: 37.32 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001035/0.358, allocations: 0.5146 MB / 0.5646 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.3591, allocations: 1.298 MB / 0.5659 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.3595, allocations: 263.2 kB / 0.5662 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005248/0.36, allocations: 0.5033 MB / 0.5666 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.3606, allocations: 0.639 MB / 0.5673 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3607, allocations: 55.47 kB / 0.5673 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.361, allocations: 175.9 kB / 0.5675 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.3612, allocations: 213.5 kB / 0.5677 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.3613, allocations: 228.1 kB / 0.5679 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000774/0.3621, allocations: 1.095 MB / 0.569 GB, free: 36.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3621, allocations: 0 / 0.569 GB, free: 36.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3621, allocations: 0.6875 kB / 0.569 GB, free: 36.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.3622, allocations: 0 / 0.569 GB, free: 36.2 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006318/0.3685, allocations: 2.406 MB / 0.5713 GB, free: 35.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3685, allocations: 11.72 kB / 0.5713 GB, free: 35.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.3731, allocations: 0.7855 MB / 0.5721 GB, free: 35.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3742, allocations: 0.7289 MB / 0.5728 GB, free: 34.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.3745, allocations: 275.7 kB / 0.5731 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.3746, allocations: 83.09 kB / 0.5732 GB, free: 34.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.3769, allocations: 1.166 MB / 0.5743 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.3769, allocations: 0 / 0.5743 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-05/0.377, allocations: 32.44 kB / 0.5743 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.377, allocations: 22.72 kB / 0.5744 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.3792, allocations: 1.238 MB / 0.5756 GB, free: 34.19 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.00486/0.3841, allocations: 3.53 MB / 0.579 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3859, allocations: 1.515 MB / 0.5805 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.3873, allocations: 0.8832 MB / 0.5814 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.3874, allocations: 15.48 kB / 0.5814 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3875, allocations: 46.19 kB / 0.5814 GB, free: 30.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.025e-06/0.3875, allocations: 0 / 0.5814 GB, free: 30.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02392/0.4114, allocations: 8.178 MB / 0.5894 GB, free: 29.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.4115, allocations: 66.25 kB / 0.5895 GB, free: 29.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.4126, allocations: 0.8838 MB / 0.5903 GB, free: 29.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.4128, allocations: 40.92 kB / 0.5904 GB, free: 29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.4131, allocations: 491.1 kB / 0.5908 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.4134, allocations: 352 kB / 0.5912 GB, free: 28.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/0.4135, allocations: 24.94 kB / 0.5912 GB, free: 28.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.4136, allocations: 353.2 kB / 0.5915 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.4152, allocations: 0.8219 MB / 0.5923 GB, free: 27.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.4169, allocations: 0.9427 MB / 0.5932 GB, free: 27.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.4186, allocations: 0.8732 MB / 0.5941 GB, free: 27.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.4186, allocations: 1.375 kB / 0.5941 GB, free: 27.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01366/0.4322, allocations: 5.247 MB / 0.5992 GB, free: 25.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.4323, allocations: 7.531 kB / 0.5992 GB, free: 25.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4323, allocations: 2.562 kB / 0.5992 GB, free: 25.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006337/0.4387, allocations: 2.09 MB / 0.6013 GB, free: 25.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.4399, allocations: 233.4 kB / 0.6015 GB, free: 25.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/0.4602, allocations: 9.518 MB / 0.6108 GB, free: 21.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.462, allocations: 224.2 kB / 0.611 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.4622, allocations: 40.36 kB / 0.611 GB, free: 20.9 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006223/0.4628, allocations: 242.9 kB / 0.6113 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.463, allocations: 120.2 kB / 0.6114 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.4749, allocations: 4.947 MB / 0.6162 GB, free: 16.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.4749, allocations: 15.94 kB / 0.6162 GB, free: 16.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.475, allocations: 1.5 kB / 0.6162 GB, free: 16.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-05/0.475, allocations: 5.172 kB / 0.6162 GB, free: 16.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.4883, allocations: 6.548 MB / 0.6226 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.4883, allocations: 0 / 0.6226 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.4891, allocations: 143.8 kB / 0.6228 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005162/0.4942, allocations: 2.05 MB / 0.6248 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/0.4945, allocations: 19.98 kB / 0.6248 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.5093, allocations: 8.196 MB / 0.6328 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5093, allocations: 0 / 0.6328 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/0.5239, allocations: 5.974 MB / 0.6386 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.5244, allocations: 212 kB / 0.6388 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.5246, allocations: 21 kB / 0.6389 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009228/0.5256, allocations: 155.9 kB / 0.639 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007012/0.5263, allocations: 220.5 kB / 0.6392 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/0.5264, allocations: 24 kB / 0.6392 GB, free: 8.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007584/0.5271, allocations: 0.5852 MB / 0.6398 GB, free: 7.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5271, allocations: 1.875 kB / 0.6398 GB, free: 7.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001361/0.5285, allocations: 451.4 kB / 0.6402 GB, free: 7.219 MB / 446.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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000259/0.5288, allocations: 135.1 kB / 0.6404 GB, free: 7.078 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006487/0.5353, allocations: 2.781 MB / 0.6431 GB, free: 4.293 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5353, allocations: 0 / 0.6431 GB, free: 4.293 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004511/0.5398, allocations: 1.807 MB / 0.6449 GB, free: 2.473 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.5409, allocations: 81.97 kB / 0.6449 GB, free: 2.395 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.5448, allocations: 2.423 MB / 0.6473 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.5454, allocations: 1.1 MB / 0.6484 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004126/0.5458, allocations: 90.38 kB / 0.6485 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.546, allocations: 67.36 kB / 0.6485 GB, free: 14.7 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.546, allocations: 0 / 0.6485 GB, free: 14.7 MB / 462.1 MB Notification: Performance of Templates: time 0.03137/0.5774, allocations: 20.01 MB / 0.6681 GB, free: 10.86 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) Environment - environmentSimulation: