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.001167/0.001167, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.309/1.309, allocations: 222.9 MB / 239 MB, free: 4.711 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.001291/0.001291, allocations: 184.5 kB / 289.2 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4439/0.4439, allocations: 78.52 MB / 417.9 MB, free: 3.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 76.16 kB / 496.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 68.17 MB / 0.5519 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2229/0.3379, allocations: 6.134 MB / 0.5579 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.3404, allocations: 1.778 MB / 0.5596 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.3408, allocations: 12.59 kB / 0.5596 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.3412, allocations: 158.9 kB / 0.5598 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.3425, allocations: 0.6023 MB / 0.5603 GB, free: 35.73 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.0009158/0.3434, allocations: 0.5358 MB / 0.5609 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009701/0.3444, allocations: 1.241 MB / 0.5621 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.3447, allocations: 270.3 kB / 0.5623 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.3452, allocations: 0.5317 MB / 0.5629 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004779/0.3457, allocations: 0.6413 MB / 0.5635 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3458, allocations: 91.25 kB / 0.5636 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.3461, allocations: 217.2 kB / 0.5638 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.3462, allocations: 246.5 kB / 0.564 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.3466, allocations: 0.5455 MB / 0.5645 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.3477, allocations: 1.343 MB / 0.5659 GB, free: 34.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3477, allocations: 4.5 kB / 0.5659 GB, free: 34.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3477, allocations: 0 / 0.5659 GB, free: 34.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.3477, allocations: 0 / 0.5659 GB, free: 34.7 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.007047/0.3548, allocations: 2.349 MB / 0.5682 GB, free: 33.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3549, allocations: 10.66 kB / 0.5682 GB, free: 33.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004899/0.3598, allocations: 0.7563 MB / 0.5689 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.3611, allocations: 0.7048 MB / 0.5696 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/0.3614, allocations: 254.6 kB / 0.5698 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.3615, allocations: 68.5 kB / 0.5699 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.3633, allocations: 0.9585 MB / 0.5708 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3634, allocations: 4.938 kB / 0.5708 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.3635, allocations: 29.12 kB / 0.5709 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3635, allocations: 14.53 kB / 0.5709 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.3653, allocations: 0.9807 MB / 0.5718 GB, free: 33.18 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.004797/0.3701, allocations: 3.181 MB / 0.5749 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.3718, allocations: 1.31 MB / 0.5762 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.3729, allocations: 0.7055 MB / 0.5769 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.373, allocations: 16.36 kB / 0.5769 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.373, allocations: 38.44 kB / 0.577 GB, free: 31.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.976e-06/0.373, allocations: 4 kB / 0.577 GB, free: 31.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02295/0.396, allocations: 6.477 MB / 0.5833 GB, free: 30.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.396, allocations: 67.91 kB / 0.5834 GB, free: 30.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.3969, allocations: 0.7901 MB / 0.5841 GB, free: 29.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.3971, allocations: 36.3 kB / 0.5842 GB, free: 29.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.3973, allocations: 436.3 kB / 0.5846 GB, free: 29.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.3975, allocations: 303.8 kB / 0.5849 GB, free: 29.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.3979, allocations: 186.3 kB / 0.5851 GB, free: 29.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.593e-05/0.3979, allocations: 348 kB / 0.5854 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.3992, allocations: 0.664 MB / 0.586 GB, free: 28.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.4006, allocations: 0.7809 MB / 0.5868 GB, free: 28.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/0.4179, allocations: 4.535 MB / 0.5912 GB, free: 26.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.418, allocations: 1.812 kB / 0.5912 GB, free: 26.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01336/0.4314, allocations: 4.08 MB / 0.5952 GB, free: 25.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.4314, allocations: 8.188 kB / 0.5952 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.4314, allocations: 6.344 kB / 0.5952 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00572/0.4372, allocations: 1.743 MB / 0.5969 GB, free: 25.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009601/0.4382, allocations: 181.1 kB / 0.5971 GB, free: 25.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/0.458, allocations: 9.054 MB / 0.6059 GB, free: 21.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4595, allocations: 154.6 kB / 0.6061 GB, free: 21.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.701e-05/0.4596, allocations: 39.38 kB / 0.6061 GB, free: 21.25 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.0003791/0.46, allocations: 223.7 kB / 0.6063 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.4602, allocations: 107.4 kB / 0.6064 GB, free: 21.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/0.4732, allocations: 3.815 MB / 0.6102 GB, free: 19.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.4732, allocations: 13.72 kB / 0.6102 GB, free: 19.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4733, allocations: 1.625 kB / 0.6102 GB, free: 19.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/0.4733, allocations: 5.109 kB / 0.6102 GB, free: 19.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/0.4911, allocations: 5.378 MB / 0.6154 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.4912, allocations: 4 kB / 0.6154 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.4919, allocations: 87.89 kB / 0.6155 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007147/0.4991, allocations: 1.748 MB / 0.6172 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/0.4994, allocations: 16 kB / 0.6172 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02229/0.5217, allocations: 8.057 MB / 0.6251 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.5217, allocations: 1.125 kB / 0.6251 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/0.5358, allocations: 4.747 MB / 0.6298 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/0.5364, allocations: 185.6 kB / 0.6299 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/0.5368, allocations: 20 kB / 0.6299 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.5381, allocations: 91.89 kB / 0.63 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008523/0.5389, allocations: 201.3 kB / 0.6302 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.5391, allocations: 23.94 kB / 0.6303 GB, free: 14.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.5401, allocations: 0.5381 MB / 0.6308 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5402, allocations: 0 / 0.6308 GB, free: 14.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001639/0.5418, allocations: 407.5 kB / 0.6312 GB, free: 13.64 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.0003453/0.5422, allocations: 119.7 kB / 0.6313 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006983/0.5491, allocations: 2.33 MB / 0.6336 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5492, allocations: 7.938 kB / 0.6336 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004717/0.5539, allocations: 1.509 MB / 0.635 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.555, allocations: 75.91 kB / 0.6351 GB, free: 9.582 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.5589, allocations: 2.159 MB / 0.6372 GB, free: 7.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.5596, allocations: 1.037 MB / 0.6382 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003509/0.56, allocations: 76.14 kB / 0.6383 GB, free: 6.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.5602, allocations: 59.44 kB / 0.6384 GB, free: 6.23 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5602, allocations: 0 / 0.6384 GB, free: 6.23 MB / 446.1 MB Notification: Performance of Templates: time 0.03277/0.593, allocations: 21.19 MB / 0.659 GB, free: 1.25 MB / 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)