Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 175.8 kB / 15.42 MB, free: 6.215 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.374/1.374, allocations: 222.9 MB / 239 MB, free: 1.785 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.0007511/0.0007511, allocations: 97.69 kB / 289.8 MB, free: 14.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5318/0.5318, allocations: 78.42 MB / 418.9 MB, free: 44.28 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 11.98 kB / 498.4 MB, free: 3.867 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3792, allocations: 68.74 MB / 0.5539 GB, free: 39.71 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007075/0.3863, allocations: 6.767 MB / 0.5605 GB, free: 37.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004577/0.3909, allocations: 1.912 MB / 0.5624 GB, free: 36.23 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.3921, allocations: 18.03 kB / 0.5624 GB, free: 36.23 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.3928, allocations: 161.7 kB / 0.5625 GB, free: 36.17 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.3949, allocations: 0.6506 MB / 0.5632 GB, free: 35.86 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.3965, allocations: 0.5592 MB / 0.5637 GB, free: 35.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001996/0.3985, allocations: 1.353 MB / 0.565 GB, free: 35.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005726/0.3991, allocations: 291.3 kB / 0.5653 GB, free: 35.33 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008918/0.4, allocations: 0.5181 MB / 0.5658 GB, free: 35.16 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.4008, allocations: 0.6668 MB / 0.5665 GB, free: 34.96 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.401, allocations: 52.78 kB / 0.5665 GB, free: 34.96 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.4015, allocations: 185.6 kB / 0.5667 GB, free: 34.95 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.4018, allocations: 229 kB / 0.5669 GB, free: 34.87 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.4023, allocations: 0.564 MB / 0.5675 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.4035, allocations: 1.427 MB / 0.5689 GB, free: 33.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.4036, allocations: 0 / 0.5689 GB, free: 33.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4036, allocations: 0 / 0.5689 GB, free: 33.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4036, allocations: 0 / 0.5689 GB, free: 33.94 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.006414/0.41, allocations: 2.325 MB / 0.5711 GB, free: 32.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4101, allocations: 10.62 kB / 0.5711 GB, free: 32.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004548/0.4146, allocations: 0.7785 MB / 0.5719 GB, free: 32.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009797/0.4156, allocations: 0.7663 MB / 0.5726 GB, free: 32.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.4158, allocations: 256.1 kB / 0.5729 GB, free: 31.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.416, allocations: 79.84 kB / 0.573 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.4179, allocations: 1.079 MB / 0.574 GB, free: 31.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.4179, allocations: 7.938 kB / 0.574 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/0.418, allocations: 33.59 kB / 0.5741 GB, free: 31.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.418, allocations: 19.56 kB / 0.5741 GB, free: 31.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.4203, allocations: 1.12 MB / 0.5752 GB, free: 31.18 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.005325/0.4257, allocations: 3.465 MB / 0.5786 GB, free: 29.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.4275, allocations: 1.424 MB / 0.5799 GB, free: 28.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.4288, allocations: 0.7845 MB / 0.5807 GB, free: 27.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.4289, allocations: 14.02 kB / 0.5807 GB, free: 27.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.429, allocations: 52.47 kB / 0.5808 GB, free: 27.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 3.847e-06/0.429, allocations: 0 / 0.5808 GB, free: 27.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02291/0.4519, allocations: 6.609 MB / 0.5872 GB, free: 26.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.452, allocations: 61.59 kB / 0.5873 GB, free: 26.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.4531, allocations: 0.898 MB / 0.5882 GB, free: 26.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.4533, allocations: 44.86 kB / 0.5882 GB, free: 26.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.4536, allocations: 0.4905 MB / 0.5887 GB, free: 25.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.4539, allocations: 352 kB / 0.589 GB, free: 25.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.454, allocations: 102.5 kB / 0.5891 GB, free: 25.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.4541, allocations: 348.5 kB / 0.5895 GB, free: 25.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.4557, allocations: 0.7182 MB / 0.5902 GB, free: 24.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.4572, allocations: 0.8522 MB / 0.591 GB, free: 24.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/0.4757, allocations: 4.824 MB / 0.5957 GB, free: 23.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.4757, allocations: 1.625 kB / 0.5957 GB, free: 23.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01455/0.4903, allocations: 4.273 MB / 0.5999 GB, free: 22.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.4904, allocations: 6.453 kB / 0.5999 GB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.4904, allocations: 6.031 kB / 0.5999 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006419/0.4968, allocations: 1.809 MB / 0.6017 GB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.498, allocations: 208.5 kB / 0.6019 GB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.5167, allocations: 8.578 MB / 0.6102 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.5183, allocations: 177.3 kB / 0.6104 GB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.5184, allocations: 39.61 kB / 0.6104 GB, free: 16.32 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005369/0.519, allocations: 252.2 kB / 0.6107 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.5192, allocations: 124.7 kB / 0.6108 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.531, allocations: 4.001 MB / 0.6147 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.531, allocations: 12 kB / 0.6147 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.531, allocations: 7.938 kB / 0.6147 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.23e-05/0.5311, allocations: 7.922 kB / 0.6147 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.5444, allocations: 5.614 MB / 0.6202 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.5445, allocations: 0 / 0.6202 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000711/0.5452, allocations: 131.8 kB / 0.6203 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00502/0.5502, allocations: 1.747 MB / 0.622 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.5504, allocations: 16 kB / 0.6221 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01484/0.5653, allocations: 7.362 MB / 0.6292 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5653, allocations: 0 / 0.6292 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.5799, allocations: 4.962 MB / 0.6341 GB, free: 8.746 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/0.5805, allocations: 203.3 kB / 0.6343 GB, free: 8.527 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.5806, allocations: 27.94 kB / 0.6343 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/0.5816, allocations: 103.9 kB / 0.6344 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006947/0.5823, allocations: 216.5 kB / 0.6346 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/0.5824, allocations: 24 kB / 0.6346 GB, free: 8.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008026/0.5832, allocations: 0.6047 MB / 0.6352 GB, free: 7.547 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5832, allocations: 0 / 0.6352 GB, free: 7.547 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001229/0.5844, allocations: 439.5 kB / 0.6357 GB, free: 7.117 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.0002498/0.5847, allocations: 128 kB / 0.6358 GB, free: 6.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006686/0.5914, allocations: 2.447 MB / 0.6382 GB, free: 4.531 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5914, allocations: 0 / 0.6382 GB, free: 4.531 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004638/0.5961, allocations: 1.552 MB / 0.6397 GB, free: 2.961 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.5971, allocations: 96.8 kB / 0.6398 GB, free: 2.867 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.6008, allocations: 2.431 MB / 0.6421 GB, free: 428 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.6015, allocations: 1.095 MB / 0.6432 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003897/0.6019, allocations: 86.77 kB / 0.6433 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.6021, allocations: 71.36 kB / 0.6434 GB, free: 15.14 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6021, allocations: 0 / 0.6434 GB, free: 15.14 MB / 458.7 MB Notification: Performance of Templates: time 0.03364/0.6358, allocations: 20.69 MB / 0.6636 GB, free: 10.49 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)