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.0008589/0.000859, allocations: 180.4 kB / 15.45 MB, free: 6.234 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.26/1.26, allocations: 223.3 MB / 239.5 MB, free: 1.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007736/0.000774, allocations: 98.16 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4423/0.4423, allocations: 78.62 MB / 420.4 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 12 kB / 0.4888 GB, free: 2.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3254, allocations: 69.34 MB / 0.5565 GB, free: 38.93 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005274/0.3307, allocations: 6.354 MB / 0.5627 GB, free: 36.11 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.334, allocations: 1.91 MB / 0.5646 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005167/0.3345, allocations: 12.56 kB / 0.5646 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.3349, allocations: 165 kB / 0.5647 GB, free: 35.26 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.3364, allocations: 0.6283 MB / 0.5654 GB, free: 34.96 MB / 426.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.001277/0.3377, allocations: 0.5606 MB / 0.5659 GB, free: 34.86 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.3393, allocations: 1.362 MB / 0.5672 GB, free: 34.33 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004376/0.3398, allocations: 289.7 kB / 0.5675 GB, free: 34.19 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006214/0.3404, allocations: 0.5197 MB / 0.568 GB, free: 33.95 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.341, allocations: 0.664 MB / 0.5687 GB, free: 33.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.3411, allocations: 52.72 kB / 0.5687 GB, free: 33.64 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.3416, allocations: 184 kB / 0.5689 GB, free: 33.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3417, allocations: 230.8 kB / 0.5691 GB, free: 33.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000345/0.3421, allocations: 0.5916 MB / 0.5697 GB, free: 33.06 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009177/0.343, allocations: 1.42 MB / 0.5711 GB, free: 32.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.343, allocations: 0 / 0.5711 GB, free: 32.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.343, allocations: 3.125 kB / 0.5711 GB, free: 32.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.3431, allocations: 0 / 0.5711 GB, free: 32.51 MB / 426.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.006293/0.3494, allocations: 2.394 MB / 0.5734 GB, free: 31.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3494, allocations: 8.75 kB / 0.5734 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.3537, allocations: 0.7814 MB / 0.5742 GB, free: 31.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009926/0.3547, allocations: 0.7672 MB / 0.5749 GB, free: 30.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/0.355, allocations: 274.2 kB / 0.5752 GB, free: 30.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3551, allocations: 77.81 kB / 0.5753 GB, free: 30.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.3571, allocations: 1.168 MB / 0.5764 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.3571, allocations: 7.938 kB / 0.5764 GB, free: 30.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-05/0.3572, allocations: 32.12 kB / 0.5765 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.3572, allocations: 19.22 kB / 0.5765 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.3594, allocations: 1.243 MB / 0.5777 GB, free: 29.72 MB / 426.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.004689/0.3641, allocations: 3.545 MB / 0.5811 GB, free: 27.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.3659, allocations: 1.52 MB / 0.5826 GB, free: 26.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.3673, allocations: 0.878 MB / 0.5835 GB, free: 26.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.3674, allocations: 9.906 kB / 0.5835 GB, free: 26.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3674, allocations: 53.59 kB / 0.5835 GB, free: 26.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 3.587e-06/0.3674, allocations: 3.938 kB / 0.5836 GB, free: 26.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02372/0.3911, allocations: 8.213 MB / 0.5916 GB, free: 24.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3912, allocations: 61.09 kB / 0.5916 GB, free: 24.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.3925, allocations: 0.8924 MB / 0.5925 GB, free: 24.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.3927, allocations: 41.3 kB / 0.5925 GB, free: 24.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.393, allocations: 499.3 kB / 0.593 GB, free: 24.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.3933, allocations: 352 kB / 0.5934 GB, free: 23.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.3934, allocations: 108.7 kB / 0.5935 GB, free: 23.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.3935, allocations: 354.1 kB / 0.5938 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.3951, allocations: 0.8192 MB / 0.5946 GB, free: 23.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.3968, allocations: 0.9531 MB / 0.5955 GB, free: 22.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01745/0.4142, allocations: 5.417 MB / 0.6008 GB, free: 21.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.4143, allocations: 5.188 kB / 0.6008 GB, free: 21.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01437/0.4286, allocations: 5.22 MB / 0.6059 GB, free: 20.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.4287, allocations: 11.44 kB / 0.6059 GB, free: 20.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4287, allocations: 2.125 kB / 0.6059 GB, free: 20.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006256/0.435, allocations: 2.038 MB / 0.6079 GB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.4362, allocations: 244.9 kB / 0.6082 GB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/0.4539, allocations: 9.333 MB / 0.6173 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.4554, allocations: 226.8 kB / 0.6175 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.4555, allocations: 39.98 kB / 0.6175 GB, free: 11.24 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.0003944/0.4559, allocations: 250.6 kB / 0.6178 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.456, allocations: 122.5 kB / 0.6179 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.4676, allocations: 4.955 MB / 0.6227 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.4677, allocations: 8 kB / 0.6227 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4677, allocations: 0 / 0.6227 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.4677, allocations: 7.969 kB / 0.6227 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.481, allocations: 6.551 MB / 0.6291 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.481, allocations: 3.938 kB / 0.6291 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.4817, allocations: 147.8 kB / 0.6293 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005559/0.4873, allocations: 2.054 MB / 0.6313 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.711e-05/0.4874, allocations: 16 kB / 0.6313 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.5035, allocations: 8.213 MB / 0.6393 GB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5035, allocations: 0 / 0.6393 GB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.5181, allocations: 5.989 MB / 0.6452 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.5186, allocations: 203.4 kB / 0.6454 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.5187, allocations: 16 kB / 0.6454 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/0.5197, allocations: 163.8 kB / 0.6455 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006991/0.5204, allocations: 212.6 kB / 0.6457 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.025e-05/0.5205, allocations: 23.98 kB / 0.6458 GB, free: 13.97 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007216/0.5212, allocations: 0.5969 MB / 0.6463 GB, free: 13.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5212, allocations: 0 / 0.6463 GB, free: 13.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001127/0.5223, allocations: 435.5 kB / 0.6468 GB, free: 12.94 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.0002403/0.5226, allocations: 135 kB / 0.6469 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00636/0.5289, allocations: 2.777 MB / 0.6496 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.529, allocations: 0 / 0.6496 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00434/0.5333, allocations: 1.806 MB / 0.6514 GB, free: 8.191 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007188/0.534, allocations: 87 kB / 0.6514 GB, free: 8.109 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.5374, allocations: 2.555 MB / 0.6539 GB, free: 5.531 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.538, allocations: 1.099 MB / 0.655 GB, free: 4.406 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003278/0.5383, allocations: 86.75 kB / 0.6551 GB, free: 4.316 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.5385, allocations: 63.42 kB / 0.6552 GB, free: 4.254 MB / 458.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5385, allocations: 4 kB / 0.6552 GB, free: 4.25 MB / 458.7 MB Notification: Performance of Templates: time 0.02864/0.5672, allocations: 20.45 MB / 0.6751 GB, free: 15.81 MB / 490.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)