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.008197/0.008198, allocations: 169.9 kB / 15.13 MB, free: 6.023 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.459/1.459, allocations: 223.3 MB / 239.1 MB, free: 1.703 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.0008903/0.0008904, allocations: 112.7 kB / 290.3 MB, free: 13.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4621/0.4621, allocations: 78.62 MB / 420 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.000355, allocations: 8 kB / 499.9 MB, free: 2.918 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3136, allocations: 69.34 MB / 0.5559 GB, free: 38.78 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00515/0.3188, allocations: 5.958 MB / 0.5617 GB, free: 37.54 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.3226, allocations: 1.818 MB / 0.5635 GB, free: 36.24 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007372/0.3234, allocations: 12.59 kB / 0.5635 GB, free: 36.24 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.3238, allocations: 157.9 kB / 0.5637 GB, free: 36.17 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.3254, allocations: 0.5885 MB / 0.5642 GB, free: 35.77 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.001226/0.3266, allocations: 0.5219 MB / 0.5647 GB, free: 35.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.3281, allocations: 1.29 MB / 0.566 GB, free: 34.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.3286, allocations: 270.9 kB / 0.5663 GB, free: 34.72 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000737/0.3294, allocations: 0.4989 MB / 0.5667 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007041/0.3301, allocations: 0.6422 MB / 0.5674 GB, free: 34.21 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.3302, allocations: 51.69 kB / 0.5674 GB, free: 34.21 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.3307, allocations: 179.2 kB / 0.5676 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.3309, allocations: 218.4 kB / 0.5678 GB, free: 34.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.3311, allocations: 225.7 kB / 0.568 GB, free: 33.9 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008289/0.3319, allocations: 1.104 MB / 0.5691 GB, free: 33.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3319, allocations: 0 / 0.5691 GB, free: 33.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3319, allocations: 0 / 0.5691 GB, free: 33.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.3319, allocations: 0 / 0.5691 GB, free: 33.55 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.006861/0.3388, allocations: 2.397 MB / 0.5714 GB, free: 32.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3388, allocations: 10.28 kB / 0.5714 GB, free: 32.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004707/0.3436, allocations: 0.7919 MB / 0.5722 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3447, allocations: 0.7188 MB / 0.5729 GB, free: 31.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.3449, allocations: 271.5 kB / 0.5732 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3451, allocations: 88.8 kB / 0.5733 GB, free: 31.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.3474, allocations: 1.161 MB / 0.5744 GB, free: 31.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.3475, allocations: 3.984 kB / 0.5744 GB, free: 31.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/0.3476, allocations: 33.16 kB / 0.5744 GB, free: 31.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.3476, allocations: 25.7 kB / 0.5745 GB, free: 31.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.35, allocations: 1.236 MB / 0.5757 GB, free: 30.81 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.005425/0.3554, allocations: 3.526 MB / 0.5791 GB, free: 28.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.3575, allocations: 1.529 MB / 0.5806 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.359, allocations: 0.867 MB / 0.5814 GB, free: 27.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.231e-05/0.3591, allocations: 16.78 kB / 0.5815 GB, free: 27.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.3591, allocations: 41.89 kB / 0.5815 GB, free: 27.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 2.585e-06/0.3591, allocations: 0 / 0.5815 GB, free: 27.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02628/0.3854, allocations: 8.188 MB / 0.5895 GB, free: 26.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.3855, allocations: 62.78 kB / 0.5896 GB, free: 26.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.3869, allocations: 0.881 MB / 0.5904 GB, free: 25.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.3871, allocations: 41.27 kB / 0.5905 GB, free: 25.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.3874, allocations: 0.4896 MB / 0.5909 GB, free: 25.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.3878, allocations: 355 kB / 0.5913 GB, free: 24.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/0.3879, allocations: 24.56 kB / 0.5913 GB, free: 24.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.3879, allocations: 348.8 kB / 0.5916 GB, free: 24.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.3898, allocations: 0.8158 MB / 0.5924 GB, free: 24.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.3916, allocations: 0.956 MB / 0.5934 GB, free: 23.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.3935, allocations: 0.8696 MB / 0.5942 GB, free: 23.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.3935, allocations: 1.031 kB / 0.5942 GB, free: 23.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01577/0.4093, allocations: 5.245 MB / 0.5993 GB, free: 22.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.4094, allocations: 5.578 kB / 0.5993 GB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.4094, allocations: 11.06 kB / 0.5993 GB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007435/0.4169, allocations: 2.1 MB / 0.6014 GB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4181, allocations: 236.1 kB / 0.6016 GB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.4395, allocations: 9.508 MB / 0.6109 GB, free: 17.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.4412, allocations: 225.3 kB / 0.6111 GB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/0.4413, allocations: 39.8 kB / 0.6112 GB, free: 16.82 MB / 426.7 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.0004228/0.4418, allocations: 244.5 kB / 0.6114 GB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.4419, allocations: 122.4 kB / 0.6115 GB, free: 16.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/0.4552, allocations: 4.96 MB / 0.6164 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4553, allocations: 12 kB / 0.6164 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4553, allocations: 0 / 0.6164 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.4553, allocations: 3.984 kB / 0.6164 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.4693, allocations: 6.546 MB / 0.6228 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.4694, allocations: 0 / 0.6228 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/0.4701, allocations: 147.8 kB / 0.6229 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005629/0.4758, allocations: 2.046 MB / 0.6249 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.4759, allocations: 20 kB / 0.6249 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.493, allocations: 8.198 MB / 0.6329 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4931, allocations: 0 / 0.6329 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/0.5094, allocations: 5.97 MB / 0.6388 GB, free: 4.719 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.5098, allocations: 207.4 kB / 0.639 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.5099, allocations: 23.98 kB / 0.639 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.511, allocations: 159.9 kB / 0.6391 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006222/0.5116, allocations: 220.5 kB / 0.6393 GB, free: 4.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.5117, allocations: 24 kB / 0.6394 GB, free: 4.078 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007123/0.5124, allocations: 0.5929 MB / 0.6399 GB, free: 3.477 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5124, allocations: 0 / 0.6399 GB, free: 3.477 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001208/0.5137, allocations: 451.4 kB / 0.6404 GB, free: 3.035 MB / 442.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 (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.000233/0.5139, allocations: 123.2 kB / 0.6405 GB, free: 2.906 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006964/0.5209, allocations: 2.784 MB / 0.6432 GB, free: 120 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5209, allocations: 3.938 kB / 0.6432 GB, free: 116 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004963/0.5259, allocations: 1.799 MB / 0.645 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009485/0.5268, allocations: 89.91 kB / 0.6451 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.5306, allocations: 2.426 MB / 0.6474 GB, free: 11.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.5312, allocations: 1.095 MB / 0.6485 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003819/0.5316, allocations: 94.75 kB / 0.6486 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.5318, allocations: 59.42 kB / 0.6486 GB, free: 10.48 MB / 458.7 MB Notification: Performance of SimCode: time 2.204e-06/0.5318, allocations: 0 / 0.6486 GB, free: 10.48 MB / 458.7 MB Notification: Performance of Templates: time 0.02918/0.561, allocations: 20.01 MB / 0.6682 GB, free: 6.484 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)