Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 113.4 kB / 16.37 MB, free: 5.996 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.317/1.317, allocations: 222.9 MB / 240 MB, free: 4.387 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.001467/0.001467, allocations: 192 kB / 290.3 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4849/0.4849, allocations: 78.53 MB / 419 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 83.88 kB / 498.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1335, allocations: 68.18 MB / 0.5538 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2713/0.4048, allocations: 5.793 MB / 0.5594 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.4079, allocations: 1.738 MB / 0.5611 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004456/0.4084, allocations: 12.03 kB / 0.5611 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.4089, allocations: 204.3 kB / 0.5613 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.4103, allocations: 0.6758 MB / 0.562 GB, free: 35.57 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.001264/0.4116, allocations: 0.5634 MB / 0.5626 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.4129, allocations: 1.26 MB / 0.5638 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.4133, allocations: 271.9 kB / 0.564 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005578/0.4138, allocations: 0.5194 MB / 0.5646 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.4144, allocations: 0.6493 MB / 0.5652 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.4145, allocations: 86.94 kB / 0.5653 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.415, allocations: 223 kB / 0.5655 GB, free: 35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.4151, allocations: 245.6 kB / 0.5657 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.4155, allocations: 0.5469 MB / 0.5662 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.4166, allocations: 1.356 MB / 0.5676 GB, free: 34.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4167, allocations: 0.5312 kB / 0.5676 GB, free: 34.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4167, allocations: 0 / 0.5676 GB, free: 34.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.4167, allocations: 3.219 kB / 0.5676 GB, free: 34.39 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006619/0.4233, allocations: 2.341 MB / 0.5699 GB, free: 33.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4234, allocations: 9.031 kB / 0.5699 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004579/0.4279, allocations: 0.7699 MB / 0.5706 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009972/0.429, allocations: 0.7014 MB / 0.5713 GB, free: 33.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.4292, allocations: 248.9 kB / 0.5715 GB, free: 32.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.4293, allocations: 79.56 kB / 0.5716 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.431, allocations: 0.9568 MB / 0.5726 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4311, allocations: 5 kB / 0.5726 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/0.4311, allocations: 29.84 kB / 0.5726 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.4312, allocations: 16.19 kB / 0.5726 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.433, allocations: 0.971 MB / 0.5736 GB, free: 32.86 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.004306/0.4373, allocations: 3.162 MB / 0.5766 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.4389, allocations: 1.312 MB / 0.5779 GB, free: 31.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.4401, allocations: 0.7076 MB / 0.5786 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.4402, allocations: 12.41 kB / 0.5786 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4402, allocations: 44.91 kB / 0.5787 GB, free: 31.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.016e-06/0.4403, allocations: 4 kB / 0.5787 GB, free: 31.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.0228/0.4631, allocations: 6.47 MB / 0.585 GB, free: 29.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.4631, allocations: 63.94 kB / 0.5851 GB, free: 29.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4642, allocations: 0.7938 MB / 0.5858 GB, free: 29.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.4644, allocations: 41.83 kB / 0.5859 GB, free: 29.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.4647, allocations: 432.1 kB / 0.5863 GB, free: 29.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.465, allocations: 306.4 kB / 0.5866 GB, free: 28.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/0.4654, allocations: 185.1 kB / 0.5867 GB, free: 28.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.4655, allocations: 347.5 kB / 0.5871 GB, free: 28.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.4669, allocations: 0.6615 MB / 0.5877 GB, free: 28.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.4683, allocations: 0.78 MB / 0.5885 GB, free: 27.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01756/0.4859, allocations: 4.525 MB / 0.5929 GB, free: 26.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/0.486, allocations: 1.297 kB / 0.5929 GB, free: 26.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01356/0.4995, allocations: 4.074 MB / 0.5969 GB, free: 25.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.4996, allocations: 7.391 kB / 0.5969 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4996, allocations: 2.438 kB / 0.5969 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00599/0.5056, allocations: 1.738 MB / 0.5986 GB, free: 25.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.5067, allocations: 188.9 kB / 0.5988 GB, free: 25.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0213/0.528, allocations: 9.037 MB / 0.6076 GB, free: 20.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.5297, allocations: 155.1 kB / 0.6077 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.5298, allocations: 33.34 kB / 0.6078 GB, free: 20.85 MB / 430.1 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 (101): * Single equations (assignments): 100 * 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.0005063/0.5303, allocations: 233.8 kB / 0.608 GB, free: 20.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.5306, allocations: 104.8 kB / 0.6081 GB, free: 20.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.542, allocations: 3.816 MB / 0.6118 GB, free: 18.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.5421, allocations: 11.88 kB / 0.6118 GB, free: 18.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5421, allocations: 0 / 0.6118 GB, free: 18.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/0.5421, allocations: 5.203 kB / 0.6118 GB, free: 18.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.5547, allocations: 5.372 MB / 0.6171 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.5548, allocations: 3.984 kB / 0.6171 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.5553, allocations: 88.52 kB / 0.6172 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00504/0.5604, allocations: 1.74 MB / 0.6189 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.5605, allocations: 16 kB / 0.6189 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/0.5757, allocations: 8.058 MB / 0.6268 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5757, allocations: 0 / 0.6268 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/0.5882, allocations: 4.736 MB / 0.6314 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003948/0.5886, allocations: 192.6 kB / 0.6316 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.5888, allocations: 16 kB / 0.6316 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008619/0.5896, allocations: 89.39 kB / 0.6317 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000606/0.5903, allocations: 208.6 kB / 0.6319 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.888e-05/0.5903, allocations: 20 kB / 0.6319 GB, free: 13.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006344/0.591, allocations: 0.5303 MB / 0.6324 GB, free: 13.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.591, allocations: 0 / 0.6324 GB, free: 13.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001208/0.5922, allocations: 407.5 kB / 0.6328 GB, free: 13.05 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 (50): * Single equations (assignments): 49 * 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.0002481/0.5925, allocations: 127.1 kB / 0.6329 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005923/0.5984, allocations: 2.314 MB / 0.6352 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5984, allocations: 0 / 0.6352 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004178/0.6026, allocations: 1.513 MB / 0.6367 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.6034, allocations: 80.11 kB / 0.6367 GB, free: 8.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.6068, allocations: 1.783 MB / 0.6385 GB, free: 7.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.6075, allocations: 1.033 MB / 0.6395 GB, free: 6.156 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002856/0.6078, allocations: 76.66 kB / 0.6396 GB, free: 6.082 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.6079, allocations: 59.44 kB / 0.6396 GB, free: 6.023 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.608, allocations: 0 / 0.6396 GB, free: 6.023 MB / 446.1 MB Notification: Performance of Templates: time 0.03368/0.6416, allocations: 22.21 MB / 0.6613 GB, free: 36 kB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)