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.007621/0.007621, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.382/1.382, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001549/0.001549, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.493/0.493, allocations: 78.52 MB / 418.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 80.09 kB / 0.5536 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3784, allocations: 68.17 MB / 0.6202 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005082/0.3836, allocations: 5.783 MB / 0.6258 GB, free: 4.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.3867, allocations: 1.743 MB / 0.6275 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000518/0.3872, allocations: 8 kB / 0.6276 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.3877, allocations: 206.2 kB / 0.6277 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.3892, allocations: 0.7351 MB / 0.6285 GB, free: 1.715 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.001023/0.3902, allocations: 0.5737 MB / 0.629 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.3912, allocations: 1.249 MB / 0.6302 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004356/0.3917, allocations: 283.1 kB / 0.6305 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006458/0.3923, allocations: 0.5251 MB / 0.631 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006744/0.393, allocations: 0.6417 MB / 0.6317 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.3931, allocations: 91.94 kB / 0.6317 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.3936, allocations: 223.9 kB / 0.632 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.3938, allocations: 242.9 kB / 0.6322 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.3943, allocations: 0.5437 MB / 0.6327 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.3957, allocations: 1.364 MB / 0.6341 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3957, allocations: 0 / 0.6341 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3957, allocations: 0 / 0.6341 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.3957, allocations: 0 / 0.6341 GB, free: 11.98 MB / 446.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.007697/0.4035, allocations: 2.345 MB / 0.6363 GB, free: 9.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4035, allocations: 8.031 kB / 0.6363 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005074/0.4086, allocations: 0.7595 MB / 0.6371 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.4098, allocations: 0.7089 MB / 0.6378 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.4101, allocations: 240.2 kB / 0.638 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.4103, allocations: 83.89 kB / 0.6381 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.4124, allocations: 0.952 MB / 0.639 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4124, allocations: 3.938 kB / 0.639 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/0.4125, allocations: 32 kB / 0.6391 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.4125, allocations: 16 kB / 0.6391 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.4146, allocations: 0.9799 MB / 0.64 GB, free: 5.711 MB / 446.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.005322/0.4199, allocations: 3.155 MB / 0.6431 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.4221, allocations: 1.312 MB / 0.6444 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.4235, allocations: 0.6993 MB / 0.6451 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.541e-05/0.4236, allocations: 24.98 kB / 0.6451 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.4236, allocations: 39.56 kB / 0.6451 GB, free: 208 kB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 3.888e-06/0.4236, allocations: 3.938 kB / 0.6451 GB, free: 204 kB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.02628/0.4499, allocations: 6.473 MB / 0.6515 GB, free: 9.688 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.45, allocations: 64.34 kB / 0.6515 GB, free: 9.613 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.4511, allocations: 0.7945 MB / 0.6523 GB, free: 8.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.4513, allocations: 37.7 kB / 0.6523 GB, free: 8.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.4516, allocations: 432.5 kB / 0.6527 GB, free: 8.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.4519, allocations: 307.6 kB / 0.653 GB, free: 8.035 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.4523, allocations: 186.9 kB / 0.6532 GB, free: 7.844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4524, allocations: 353.9 kB / 0.6536 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.4539, allocations: 0.6584 MB / 0.6542 GB, free: 6.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.4555, allocations: 0.7835 MB / 0.655 GB, free: 6.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/0.4739, allocations: 4.512 MB / 0.6594 GB, free: 1.473 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.474, allocations: 7.984 kB / 0.6594 GB, free: 1.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01442/0.4884, allocations: 4.078 MB / 0.6634 GB, free: 13.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.4885, allocations: 8 kB / 0.6634 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.4885, allocations: 8 kB / 0.6634 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006261/0.4948, allocations: 1.725 MB / 0.6651 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.4958, allocations: 187.7 kB / 0.6652 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/0.518, allocations: 9.044 MB / 0.6741 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.5196, allocations: 159 kB / 0.6742 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/0.5197, allocations: 39.98 kB / 0.6743 GB, free: 2.051 MB / 478.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.0004794/0.5202, allocations: 229.6 kB / 0.6745 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.5204, allocations: 102.7 kB / 0.6746 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.5338, allocations: 3.809 MB / 0.6783 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.5338, allocations: 15.94 kB / 0.6783 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5338, allocations: 0 / 0.6783 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.5339, allocations: 3.984 kB / 0.6783 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.549, allocations: 5.372 MB / 0.6836 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.5491, allocations: 0 / 0.6836 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.5496, allocations: 91.89 kB / 0.6836 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006125/0.5557, allocations: 1.745 MB / 0.6854 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.5558, allocations: 12 kB / 0.6854 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01903/0.5748, allocations: 8.048 MB / 0.6932 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5749, allocations: 0 / 0.6932 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.59, allocations: 4.744 MB / 0.6979 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/0.5906, allocations: 187.6 kB / 0.698 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.5908, allocations: 19.94 kB / 0.6981 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009446/0.5917, allocations: 95.89 kB / 0.6981 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006436/0.5924, allocations: 204.6 kB / 0.6983 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/0.5925, allocations: 20 kB / 0.6984 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006994/0.5932, allocations: 0.5381 MB / 0.6989 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5932, allocations: 0 / 0.6989 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001214/0.5944, allocations: 407.5 kB / 0.6993 GB, free: 8.074 MB / 0.4981 GB 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.0002715/0.5947, allocations: 127.1 kB / 0.6994 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006352/0.601, allocations: 2.305 MB / 0.7016 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6011, allocations: 0 / 0.7016 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0046/0.6057, allocations: 1.515 MB / 0.7031 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.6063, allocations: 75.34 kB / 0.7032 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.6095, allocations: 1.779 MB / 0.7049 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.6101, allocations: 1.025 MB / 0.7059 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002812/0.6104, allocations: 86.23 kB / 0.706 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.6106, allocations: 67.42 kB / 0.7061 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.6106, allocations: 0 / 0.7061 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.03501/0.6456, allocations: 22.39 MB / 0.7279 GB, free: 10.61 MB / 0.5294 GB 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)