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.0009624/0.0009626, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.321/1.321, allocations: 223.2 MB / 238.9 MB, free: 5.465 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.001129/0.00113, allocations: 201 kB / 290.2 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4664/0.4664, allocations: 78.52 MB / 419.8 MB, free: 4.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003977, allocations: 12 kB / 499.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 69.37 MB / 0.5557 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2197/0.3535, allocations: 5.048 MB / 0.5606 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.3566, allocations: 1.722 MB / 0.5623 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.3571, allocations: 12.94 kB / 0.5623 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.3575, allocations: 143.5 kB / 0.5624 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.359, allocations: 0.6198 MB / 0.563 GB, free: 36.84 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.0009739/0.36, allocations: 491 kB / 0.5635 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.3611, allocations: 0.8196 MB / 0.5643 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.3614, allocations: 216.9 kB / 0.5645 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005513/0.362, allocations: 460.1 kB / 0.565 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005546/0.3626, allocations: 0.5536 MB / 0.5655 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.834e-05/0.3627, allocations: 46.69 kB / 0.5655 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.363, allocations: 165.1 kB / 0.5657 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3632, allocations: 188.7 kB / 0.5659 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.3633, allocations: 199.5 kB / 0.5661 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007717/0.3641, allocations: 0.9487 MB / 0.567 GB, free: 36.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3641, allocations: 0 / 0.567 GB, free: 36.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3641, allocations: 1.969 kB / 0.567 GB, free: 36.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3642, allocations: 0 / 0.567 GB, free: 36.33 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.006322/0.3705, allocations: 2.204 MB / 0.5692 GB, free: 35.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3705, allocations: 8.25 kB / 0.5692 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/0.3751, allocations: 0.7762 MB / 0.5699 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.3762, allocations: 0.6653 MB / 0.5706 GB, free: 35.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.3765, allocations: 266.6 kB / 0.5708 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.3766, allocations: 65.09 kB / 0.5709 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.3784, allocations: 1.027 MB / 0.5719 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3784, allocations: 0 / 0.5719 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.3785, allocations: 33.06 kB / 0.5719 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.3785, allocations: 17.12 kB / 0.5719 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.3804, allocations: 1.059 MB / 0.573 GB, free: 34.9 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.004542/0.3849, allocations: 3.344 MB / 0.5762 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.3867, allocations: 1.376 MB / 0.5776 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.379e-05/0.3868, allocations: 12.77 kB / 0.5776 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.3868, allocations: 46.22 kB / 0.5776 GB, free: 32.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/0.3868, allocations: 0 / 0.5776 GB, free: 32.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02441/0.4112, allocations: 8.014 MB / 0.5855 GB, free: 30.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.4113, allocations: 60.47 kB / 0.5855 GB, free: 30.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.4123, allocations: 0.786 MB / 0.5863 GB, free: 30.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.4125, allocations: 41.8 kB / 0.5863 GB, free: 30.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.4128, allocations: 432.1 kB / 0.5867 GB, free: 30.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.413, allocations: 296 kB / 0.587 GB, free: 29.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.4131, allocations: 20.22 kB / 0.587 GB, free: 29.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.4132, allocations: 349.2 kB / 0.5874 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.4148, allocations: 0.7299 MB / 0.5881 GB, free: 29.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.4163, allocations: 0.8501 MB / 0.5889 GB, free: 28.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.4178, allocations: 0.7807 MB / 0.5897 GB, free: 28.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4178, allocations: 5.047 kB / 0.5897 GB, free: 28.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01445/0.4323, allocations: 5.037 MB / 0.5946 GB, free: 27.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4323, allocations: 7.172 kB / 0.5946 GB, free: 27.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.4323, allocations: 1.625 kB / 0.5946 GB, free: 27.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/0.439, allocations: 2.081 MB / 0.5966 GB, free: 27.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009198/0.4399, allocations: 186.4 kB / 0.5968 GB, free: 27.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/0.4615, allocations: 9.978 MB / 0.6066 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.4629, allocations: 198.2 kB / 0.6068 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.4631, allocations: 36.72 kB / 0.6068 GB, free: 22.7 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004439/0.4635, allocations: 220.8 kB / 0.607 GB, free: 22.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.4637, allocations: 107.9 kB / 0.6071 GB, free: 22.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.4772, allocations: 4.723 MB / 0.6117 GB, free: 20.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.4772, allocations: 8.609 kB / 0.6117 GB, free: 20.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.4772, allocations: 0 / 0.6117 GB, free: 20.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.4772, allocations: 5.234 kB / 0.6117 GB, free: 20.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.4907, allocations: 6.286 MB / 0.6179 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.4907, allocations: 7.953 kB / 0.6179 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.4913, allocations: 96.89 kB / 0.618 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005553/0.4969, allocations: 2.049 MB / 0.62 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.497, allocations: 16 kB / 0.62 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/0.513, allocations: 8.637 MB / 0.6284 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5131, allocations: 0 / 0.6284 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.5274, allocations: 5.716 MB / 0.634 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.5278, allocations: 191.6 kB / 0.6342 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.528, allocations: 23.94 kB / 0.6342 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/0.529, allocations: 125.7 kB / 0.6343 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005599/0.5295, allocations: 201.5 kB / 0.6345 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/0.5296, allocations: 20 kB / 0.6345 GB, free: 12.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006171/0.5302, allocations: 0.5264 MB / 0.6351 GB, free: 12.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5302, allocations: 0 / 0.6351 GB, free: 12.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001262/0.5315, allocations: 419.5 kB / 0.6355 GB, free: 11.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000233/0.5318, allocations: 117.5 kB / 0.6356 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006513/0.5383, allocations: 2.586 MB / 0.6381 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5383, allocations: 0 / 0.6381 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004686/0.543, allocations: 1.695 MB / 0.6397 GB, free: 7.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.5437, allocations: 67.28 kB / 0.6398 GB, free: 7.379 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.5471, allocations: 2.132 MB / 0.6419 GB, free: 5.266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.5478, allocations: 1.053 MB / 0.6429 GB, free: 4.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003415/0.5482, allocations: 85.06 kB / 0.643 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.5484, allocations: 55.42 kB / 0.6431 GB, free: 4.055 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5484, allocations: 4 kB / 0.6431 GB, free: 4.051 MB / 446.1 MB Notification: Performance of Templates: time 0.03/0.5784, allocations: 19.04 MB / 0.6617 GB, free: 1.199 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: