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.001331/0.001331, allocations: 178.9 kB / 16.07 MB, free: 5.727 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.332/1.332, allocations: 222.9 MB / 239.7 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007824/0.0007824, allocations: 105.5 kB / 290.5 MB, free: 11.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4701/0.4701, allocations: 78.42 MB / 419.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 8 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.325, allocations: 68.74 MB / 0.5545 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004701/0.3298, allocations: 6.143 MB / 0.5605 GB, free: 14.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.3324, allocations: 1.786 MB / 0.5622 GB, free: 12.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.3328, allocations: 15.94 kB / 0.5623 GB, free: 12.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.3332, allocations: 151 kB / 0.5624 GB, free: 12.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.3344, allocations: 0.6188 MB / 0.563 GB, free: 11.5 MB / 378.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.0008875/0.3353, allocations: 0.5284 MB / 0.5635 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008036/0.3361, allocations: 1.194 MB / 0.5647 GB, free: 9.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.3364, allocations: 239.6 kB / 0.5649 GB, free: 9.531 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.3368, allocations: 481.7 kB / 0.5654 GB, free: 9.059 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004063/0.3372, allocations: 0.587 MB / 0.566 GB, free: 8.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.478e-05/0.3373, allocations: 48 kB / 0.566 GB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.3376, allocations: 175.9 kB / 0.5662 GB, free: 8.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3377, allocations: 198.9 kB / 0.5664 GB, free: 8.055 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.338, allocations: 0.5006 MB / 0.5668 GB, free: 7.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.3385, allocations: 0.9914 MB / 0.5678 GB, free: 6.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3386, allocations: 0 / 0.5678 GB, free: 6.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3386, allocations: 0 / 0.5678 GB, free: 6.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3386, allocations: 0 / 0.5678 GB, free: 6.559 MB / 378.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.006085/0.3447, allocations: 2.145 MB / 0.5699 GB, free: 4.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3447, allocations: 12.03 kB / 0.5699 GB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004714/0.3494, allocations: 0.7595 MB / 0.5707 GB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/0.3504, allocations: 0.701 MB / 0.5713 GB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.3506, allocations: 252.2 kB / 0.5716 GB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.3507, allocations: 68 kB / 0.5716 GB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.3524, allocations: 0.9599 MB / 0.5726 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3524, allocations: 7.875 kB / 0.5726 GB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.603e-05/0.3525, allocations: 28 kB / 0.5726 GB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.3525, allocations: 16 kB / 0.5726 GB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.3543, allocations: 0.9798 MB / 0.5736 GB, free: 0.5 MB / 378.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.005212/0.3595, allocations: 3.178 MB / 0.5767 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.3614, allocations: 1.319 MB / 0.578 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.3627, allocations: 0.711 MB / 0.5787 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.3628, allocations: 12.98 kB / 0.5787 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3629, allocations: 39.56 kB / 0.5787 GB, free: 10.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=83): time 2.144e-06/0.3629, allocations: 0 / 0.5787 GB, free: 10.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=83): time 0.02375/0.3866, allocations: 6.488 MB / 0.5851 GB, free: 4.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3867, allocations: 60.41 kB / 0.5851 GB, free: 4.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3877, allocations: 0.7945 MB / 0.5859 GB, free: 3.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.3879, allocations: 37.7 kB / 0.5859 GB, free: 3.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.3882, allocations: 436.5 kB / 0.5864 GB, free: 3.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.3885, allocations: 299.7 kB / 0.5866 GB, free: 2.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.3887, allocations: 93.66 kB / 0.5867 GB, free: 2.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3888, allocations: 353.9 kB / 0.5871 GB, free: 2.336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.3902, allocations: 0.6584 MB / 0.5877 GB, free: 1.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.3916, allocations: 0.7796 MB / 0.5885 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0172/0.4088, allocations: 4.515 MB / 0.5929 GB, free: 12.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.4089, allocations: 4 kB / 0.5929 GB, free: 12.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01278/0.4216, allocations: 4.082 MB / 0.5969 GB, free: 8.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.4217, allocations: 4 kB / 0.5969 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4217, allocations: 4 kB / 0.5969 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005778/0.4275, allocations: 1.741 MB / 0.5986 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4285, allocations: 183.7 kB / 0.5988 GB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/0.4479, allocations: 8.325 MB / 0.6069 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4492, allocations: 155 kB / 0.607 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/0.4493, allocations: 32 kB / 0.6071 GB, free: 13.62 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.0004126/0.4497, allocations: 229.6 kB / 0.6073 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.4499, allocations: 110.6 kB / 0.6074 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.4621, allocations: 3.809 MB / 0.6111 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.4621, allocations: 8 kB / 0.6111 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.4621, allocations: 0 / 0.6111 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.4621, allocations: 3.984 kB / 0.6111 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.4761, allocations: 5.387 MB / 0.6164 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4761, allocations: 0 / 0.6164 GB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.4766, allocations: 87.89 kB / 0.6165 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005739/0.4824, allocations: 1.741 MB / 0.6182 GB, free: 2.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.4825, allocations: 19.94 kB / 0.6182 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/0.4996, allocations: 7.347 MB / 0.6254 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4996, allocations: 0 / 0.6254 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.514, allocations: 4.747 MB / 0.63 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.5145, allocations: 183.7 kB / 0.6302 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.5146, allocations: 12 kB / 0.6302 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008958/0.5155, allocations: 95.89 kB / 0.6303 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007525/0.5163, allocations: 188.7 kB / 0.6304 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/0.5164, allocations: 24 kB / 0.6305 GB, free: 5.301 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007855/0.5172, allocations: 0.5302 MB / 0.631 GB, free: 4.773 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5172, allocations: 0 / 0.631 GB, free: 4.773 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001461/0.5187, allocations: 411.5 kB / 0.6314 GB, free: 4.371 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.0003246/0.519, allocations: 123.1 kB / 0.6315 GB, free: 4.242 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006348/0.5254, allocations: 2.267 MB / 0.6337 GB, free: 1.961 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5254, allocations: 0 / 0.6337 GB, free: 1.961 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004391/0.5298, allocations: 1.464 MB / 0.6351 GB, free: 492 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.5307, allocations: 83.22 kB / 0.6352 GB, free: 404 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.5341, allocations: 2.179 MB / 0.6373 GB, free: 14.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.5347, allocations: 1.033 MB / 0.6384 GB, free: 13.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.535, allocations: 63.42 kB / 0.6384 GB, free: 13.07 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.535, allocations: 0 / 0.6384 GB, free: 13.07 MB / 458.7 MB Notification: Performance of Templates: time 0.02612/0.5611, allocations: 17.68 MB / 0.6557 GB, free: 11.37 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)