Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000848/0.000848, allocations: 181.9 kB / 15.45 MB, free: 6.23 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.234/1.234, allocations: 223.3 MB / 239.5 MB, free: 1.426 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.0007296/0.0007297, allocations: 91.39 kB / 290.7 MB, free: 13.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4535/0.4535, allocations: 78.61 MB / 420.4 MB, free: 43.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 12 kB / 0.4888 GB, free: 1.746 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3228, allocations: 69.33 MB / 0.5565 GB, free: 39.44 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004877/0.3277, allocations: 5.687 MB / 0.5621 GB, free: 36.96 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.3315, allocations: 1.78 MB / 0.5638 GB, free: 36.21 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.3326, allocations: 11.19 kB / 0.5638 GB, free: 36.21 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005906/0.3332, allocations: 155.4 kB / 0.564 GB, free: 36.17 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.3353, allocations: 0.6078 MB / 0.5645 GB, free: 35.87 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.001601/0.3369, allocations: 0.5218 MB / 0.5651 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.3385, allocations: 1.199 MB / 0.5662 GB, free: 35.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.3389, allocations: 242.6 kB / 0.5665 GB, free: 35.15 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006204/0.3395, allocations: 480.9 kB / 0.5669 GB, free: 34.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000583/0.3401, allocations: 0.5865 MB / 0.5675 GB, free: 34.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3402, allocations: 46.19 kB / 0.5675 GB, free: 34.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.3407, allocations: 178.7 kB / 0.5677 GB, free: 34.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.3409, allocations: 196.9 kB / 0.5679 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00032/0.3412, allocations: 0.5252 MB / 0.5684 GB, free: 34.15 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.3421, allocations: 1.282 MB / 0.5697 GB, free: 33.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3421, allocations: 4 kB / 0.5697 GB, free: 33.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3421, allocations: 2.438 kB / 0.5697 GB, free: 33.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3421, allocations: 0 / 0.5697 GB, free: 33.64 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006125/0.3483, allocations: 2.187 MB / 0.5718 GB, free: 32.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3483, allocations: 9 kB / 0.5718 GB, free: 32.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.3529, allocations: 0.7721 MB / 0.5726 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009553/0.3539, allocations: 0.7026 MB / 0.5732 GB, free: 32.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.3541, allocations: 264.2 kB / 0.5735 GB, free: 31.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.3542, allocations: 62.69 kB / 0.5736 GB, free: 31.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.356, allocations: 1.033 MB / 0.5746 GB, free: 31.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.356, allocations: 3.938 kB / 0.5746 GB, free: 31.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/0.3561, allocations: 25.91 kB / 0.5746 GB, free: 31.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3561, allocations: 16.59 kB / 0.5746 GB, free: 31.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.3579, allocations: 1.069 MB / 0.5757 GB, free: 31.09 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.004347/0.3623, allocations: 3.248 MB / 0.5788 GB, free: 29.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.3639, allocations: 1.383 MB / 0.5802 GB, free: 28.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.3652, allocations: 0.7855 MB / 0.5809 GB, free: 28.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.3653, allocations: 9.344 kB / 0.581 GB, free: 28.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.3653, allocations: 38.56 kB / 0.581 GB, free: 27.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=83): time 2.505e-06/0.3653, allocations: 0 / 0.581 GB, free: 27.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.02332/0.3886, allocations: 8.064 MB / 0.5889 GB, free: 26.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.3887, allocations: 61.12 kB / 0.5889 GB, free: 26.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.3896, allocations: 0.7884 MB / 0.5897 GB, free: 26.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.3898, allocations: 45.17 kB / 0.5897 GB, free: 26.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.39, allocations: 433.2 kB / 0.5901 GB, free: 25.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.3903, allocations: 303.7 kB / 0.5904 GB, free: 25.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.3904, allocations: 97 kB / 0.5905 GB, free: 25.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.3905, allocations: 349 kB / 0.5909 GB, free: 25.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.3919, allocations: 0.7333 MB / 0.5916 GB, free: 24.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.3933, allocations: 0.8625 MB / 0.5924 GB, free: 24.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/0.4101, allocations: 5.013 MB / 0.5973 GB, free: 23.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.4102, allocations: 0.9688 kB / 0.5973 GB, free: 23.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01368/0.4238, allocations: 4.992 MB / 0.6022 GB, free: 22.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.4239, allocations: 6.406 kB / 0.6022 GB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.4239, allocations: 2.969 kB / 0.6022 GB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00638/0.4303, allocations: 2.047 MB / 0.6042 GB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.4313, allocations: 198.1 kB / 0.6044 GB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.4495, allocations: 9.317 MB / 0.6135 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.4508, allocations: 203 kB / 0.6137 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/0.4509, allocations: 32 kB / 0.6137 GB, free: 15.05 MB / 426.7 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.0003496/0.4513, allocations: 227.7 kB / 0.6139 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.4514, allocations: 106.6 kB / 0.614 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.4623, allocations: 4.727 MB / 0.6186 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4624, allocations: 12 kB / 0.6187 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4624, allocations: 0 / 0.6187 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.4624, allocations: 7.969 kB / 0.6187 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/0.4748, allocations: 6.29 MB / 0.6248 GB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4748, allocations: 0 / 0.6248 GB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.4753, allocations: 99.83 kB / 0.6249 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005057/0.4803, allocations: 2.05 MB / 0.6269 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.512e-05/0.4804, allocations: 12 kB / 0.6269 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/0.4965, allocations: 8.209 MB / 0.6349 GB, free: 9.012 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4965, allocations: 7.938 kB / 0.6349 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/0.5108, allocations: 5.723 MB / 0.6405 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.5112, allocations: 195.6 kB / 0.6407 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.5113, allocations: 23.88 kB / 0.6407 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008348/0.5121, allocations: 127.9 kB / 0.6409 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005634/0.5127, allocations: 192.7 kB / 0.641 GB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.5128, allocations: 28 kB / 0.6411 GB, free: 2.684 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000603/0.5134, allocations: 0.5264 MB / 0.6416 GB, free: 2.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5134, allocations: 0 / 0.6416 GB, free: 2.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001077/0.5145, allocations: 419.5 kB / 0.642 GB, free: 1.75 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 (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.0002101/0.5147, allocations: 119.2 kB / 0.6421 GB, free: 1.625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00586/0.5206, allocations: 2.571 MB / 0.6446 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5206, allocations: 0 / 0.6446 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004248/0.5248, allocations: 1.693 MB / 0.6463 GB, free: 13.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.5256, allocations: 80.27 kB / 0.6463 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.5285, allocations: 2.216 MB / 0.6485 GB, free: 11.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.5291, allocations: 1.029 MB / 0.6495 GB, free: 9.957 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002678/0.5293, allocations: 82.25 kB / 0.6496 GB, free: 9.875 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.5295, allocations: 59.42 kB / 0.6496 GB, free: 9.816 MB / 458.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5295, allocations: 0 / 0.6496 GB, free: 9.816 MB / 458.7 MB Notification: Performance of Templates: time 0.02739/0.5569, allocations: 19.47 MB / 0.6687 GB, free: 6.355 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)