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.001221/0.001222, allocations: 101.1 kB / 16.29 MB, free: 6.035 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.664 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.001343/0.001343, allocations: 188.3 kB / 290.2 MB, free: 2.375 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4443/0.4443, allocations: 78.52 MB / 418.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001393, allocations: 75.89 kB / 498.2 MB, free: 6.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1222, allocations: 68.18 MB / 0.5531 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2192/0.3414, allocations: 5.788 MB / 0.5587 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.344, allocations: 1.738 MB / 0.5604 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.3443, allocations: 8.094 kB / 0.5604 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.3447, allocations: 205 kB / 0.5606 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.346, allocations: 0.681 MB / 0.5613 GB, free: 35.62 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.0009893/0.347, allocations: 0.5695 MB / 0.5618 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000908/0.3479, allocations: 1.249 MB / 0.5631 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.3483, allocations: 266.1 kB / 0.5633 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004434/0.3487, allocations: 0.5258 MB / 0.5638 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/0.3492, allocations: 0.646 MB / 0.5645 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.3493, allocations: 88.66 kB / 0.5645 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.3496, allocations: 224.1 kB / 0.5647 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.3498, allocations: 240.9 kB / 0.565 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.3501, allocations: 0.538 MB / 0.5655 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009515/0.3511, allocations: 1.37 MB / 0.5668 GB, free: 34.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3511, allocations: 0 / 0.5668 GB, free: 34.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3511, allocations: 0.6562 kB / 0.5668 GB, free: 34.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3511, allocations: 0 / 0.5668 GB, free: 34.52 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.00661/0.3577, allocations: 2.345 MB / 0.5691 GB, free: 33.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.3578, allocations: 9.469 kB / 0.5691 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/0.3625, allocations: 0.7638 MB / 0.5699 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.3633, allocations: 0.6976 MB / 0.5706 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.3635, allocations: 250.5 kB / 0.5708 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.3636, allocations: 74.91 kB / 0.5709 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.3653, allocations: 0.9581 MB / 0.5718 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3654, allocations: 3.938 kB / 0.5718 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-05/0.3654, allocations: 32.67 kB / 0.5718 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3655, allocations: 17.12 kB / 0.5719 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.3673, allocations: 0.9778 MB / 0.5728 GB, free: 32.99 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.004597/0.3719, allocations: 3.162 MB / 0.5759 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.3736, allocations: 1.31 MB / 0.5772 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.3748, allocations: 0.702 MB / 0.5779 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-05/0.3749, allocations: 16.88 kB / 0.5779 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.375, allocations: 42.25 kB / 0.5779 GB, free: 31.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.266e-06/0.375, allocations: 0.7969 kB / 0.5779 GB, free: 31.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02367/0.3986, allocations: 6.478 MB / 0.5843 GB, free: 29.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3987, allocations: 61.5 kB / 0.5843 GB, free: 29.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.3997, allocations: 0.7925 MB / 0.5851 GB, free: 29.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.3999, allocations: 44.8 kB / 0.5851 GB, free: 29.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.4001, allocations: 437.9 kB / 0.5856 GB, free: 29.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.4004, allocations: 307.9 kB / 0.5858 GB, free: 28.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.4007, allocations: 183 kB / 0.586 GB, free: 28.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.359e-05/0.4008, allocations: 347.4 kB / 0.5863 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.4022, allocations: 0.6571 MB / 0.587 GB, free: 28.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.4036, allocations: 0.7874 MB / 0.5878 GB, free: 27.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/0.4218, allocations: 4.513 MB / 0.5922 GB, free: 26.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4218, allocations: 1.062 kB / 0.5922 GB, free: 26.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01316/0.435, allocations: 4.08 MB / 0.5962 GB, free: 25.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.435, allocations: 7.5 kB / 0.5962 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.4351, allocations: 2.719 kB / 0.5962 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005772/0.4408, allocations: 1.736 MB / 0.5979 GB, free: 25.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009686/0.4418, allocations: 187.5 kB / 0.598 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/0.4617, allocations: 9.036 MB / 0.6069 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.4631, allocations: 150.7 kB / 0.607 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.4633, allocations: 41.25 kB / 0.607 GB, free: 21.04 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.0004113/0.4637, allocations: 229.9 kB / 0.6073 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.4639, allocations: 105.3 kB / 0.6074 GB, free: 20.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.4758, allocations: 3.814 MB / 0.6111 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.4758, allocations: 13.64 kB / 0.6111 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4758, allocations: 0 / 0.6111 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.4759, allocations: 7.984 kB / 0.6111 GB, free: 19.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.4884, allocations: 5.379 MB / 0.6164 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.4884, allocations: 0 / 0.6164 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.489, allocations: 92.95 kB / 0.6165 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005071/0.4941, allocations: 1.74 MB / 0.6181 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.4942, allocations: 16 kB / 0.6182 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/0.5095, allocations: 8.05 MB / 0.626 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5095, allocations: 0 / 0.626 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/0.522, allocations: 4.748 MB / 0.6307 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.5224, allocations: 187.6 kB / 0.6308 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.5226, allocations: 16 kB / 0.6309 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008921/0.5235, allocations: 91.89 kB / 0.6309 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005708/0.5241, allocations: 201.8 kB / 0.6311 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.5241, allocations: 24 kB / 0.6312 GB, free: 14.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006397/0.5248, allocations: 0.5322 MB / 0.6317 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5248, allocations: 0 / 0.6317 GB, free: 14.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001209/0.526, allocations: 411.5 kB / 0.6321 GB, free: 13.68 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.0002426/0.5263, allocations: 115.2 kB / 0.6322 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006327/0.5326, allocations: 2.314 MB / 0.6344 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5326, allocations: 0 / 0.6344 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004384/0.537, allocations: 1.517 MB / 0.6359 GB, free: 9.715 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007224/0.5378, allocations: 76.59 kB / 0.636 GB, free: 9.641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.5408, allocations: 1.783 MB / 0.6377 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.5414, allocations: 1.037 MB / 0.6388 GB, free: 6.797 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.5417, allocations: 82.3 kB / 0.6388 GB, free: 6.719 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.5419, allocations: 59.42 kB / 0.6389 GB, free: 6.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5419, allocations: 3.938 kB / 0.6389 GB, free: 6.656 MB / 446.1 MB Notification: Performance of Templates: time 0.03348/0.5754, allocations: 22.21 MB / 0.6606 GB, free: 0.6406 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)