Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007297/0.0007297, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.176/1.176, allocations: 223.3 MB / 239.4 MB, free: 5.508 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.0008898/0.0008898, allocations: 176.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3991/0.3991, allocations: 78.55 MB / 420.3 MB, free: 4.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003177, allocations: 8 kB / 0.4887 GB, free: 5.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 69.37 MB / 0.5565 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.1845/0.2884, allocations: 6.238 MB / 0.5626 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.2914, allocations: 1.956 MB / 0.5645 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.2919, allocations: 16.03 kB / 0.5645 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.2924, allocations: 184.8 kB / 0.5647 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.2936, allocations: 0.6371 MB / 0.5653 GB, free: 34.96 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.001024/0.2946, allocations: 0.6121 MB / 0.5659 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008919/0.2955, allocations: 1.39 MB / 0.5673 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.2959, allocations: 284.2 kB / 0.5675 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.2963, allocations: 0.5228 MB / 0.568 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004969/0.2968, allocations: 0.6552 MB / 0.5687 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.249e-05/0.2969, allocations: 52.16 kB / 0.5687 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.2972, allocations: 191 kB / 0.5689 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.2974, allocations: 225 kB / 0.5691 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.2977, allocations: 0.5726 MB / 0.5697 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008622/0.2986, allocations: 1.446 MB / 0.5711 GB, free: 33.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.2986, allocations: 1.719 kB / 0.5711 GB, free: 33.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2986, allocations: 0 / 0.5711 GB, free: 33.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.2986, allocations: 0 / 0.5711 GB, free: 33.42 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.006509/0.3051, allocations: 2.363 MB / 0.5734 GB, free: 32.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3052, allocations: 9.5 kB / 0.5734 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000149/0.3053, allocations: 123 kB / 0.5735 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/0.3097, allocations: 0.7888 MB / 0.5743 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3107, allocations: 0.8078 MB / 0.5751 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.311, allocations: 270.6 kB / 0.5754 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.3111, allocations: 76.84 kB / 0.5754 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.3131, allocations: 1.207 MB / 0.5766 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3131, allocations: 0 / 0.5766 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.413e-05/0.3132, allocations: 34.06 kB / 0.5766 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.3132, allocations: 18.38 kB / 0.5767 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.3153, allocations: 1.168 MB / 0.5778 GB, free: 31.72 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.00461/0.32, allocations: 3.524 MB / 0.5812 GB, free: 30.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.3219, allocations: 1.53 MB / 0.5827 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.3232, allocations: 0.8265 MB / 0.5835 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-05/0.3233, allocations: 16.72 kB / 0.5836 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.3233, allocations: 49.78 kB / 0.5836 GB, free: 29.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.174e-06/0.3233, allocations: 0 / 0.5836 GB, free: 29.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02544/0.3487, allocations: 8.046 MB / 0.5915 GB, free: 27.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3488, allocations: 90.61 kB / 0.5916 GB, free: 27.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.3501, allocations: 0.9402 MB / 0.5925 GB, free: 27.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.3503, allocations: 45.33 kB / 0.5925 GB, free: 27.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.3506, allocations: 482.4 kB / 0.593 GB, free: 26.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.3508, allocations: 324.8 kB / 0.5933 GB, free: 26.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.351, allocations: 106.3 kB / 0.5934 GB, free: 26.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.351, allocations: 350.5 kB / 0.5937 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.3526, allocations: 0.7802 MB / 0.5945 GB, free: 26.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.3543, allocations: 0.9122 MB / 0.5954 GB, free: 25.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01855/0.3729, allocations: 5.232 MB / 0.6005 GB, free: 24.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3729, allocations: 4.938 kB / 0.6005 GB, free: 24.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01463/0.3875, allocations: 5.144 MB / 0.6055 GB, free: 23.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/0.3876, allocations: 156.4 kB / 0.6057 GB, free: 22.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3877, allocations: 5.797 kB / 0.6057 GB, free: 22.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006301/0.394, allocations: 2.025 MB / 0.6076 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.395, allocations: 214 kB / 0.6078 GB, free: 22.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/0.4136, allocations: 9.319 MB / 0.6169 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.4151, allocations: 218.8 kB / 0.6172 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.4152, allocations: 43.98 kB / 0.6172 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.4152, allocations: 4 kB / 0.6172 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01272/0.4279, allocations: 4.984 MB / 0.6221 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.428, allocations: 4 kB / 0.6221 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005591/0.4336, allocations: 2.033 MB / 0.6241 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009912/0.4346, allocations: 207.7 kB / 0.6243 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01827/0.4529, allocations: 9.308 MB / 0.6333 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4545, allocations: 204.3 kB / 0.6335 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/0.4546, allocations: 36 kB / 0.6336 GB, free: 14.32 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (111): * Single equations (assignments): 110 * 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.000546/0.4551, allocations: 329.4 kB / 0.6339 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.4554, allocations: 118.5 kB / 0.634 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.4693, allocations: 4.857 MB / 0.6387 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.4694, allocations: 14.3 kB / 0.6388 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4694, allocations: 0 / 0.6388 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.4694, allocations: 7.969 kB / 0.6388 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.4855, allocations: 6.479 MB / 0.6451 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.4856, allocations: 0 / 0.6451 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/0.4862, allocations: 111.9 kB / 0.6452 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006256/0.4925, allocations: 2.047 MB / 0.6472 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.4927, allocations: 24.97 kB / 0.6472 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.5108, allocations: 8.215 MB / 0.6552 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5109, allocations: 3.938 kB / 0.6553 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.5268, allocations: 5.861 MB / 0.661 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.5273, allocations: 203.5 kB / 0.6612 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.5275, allocations: 21.06 kB / 0.6612 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.5287, allocations: 151.9 kB / 0.6613 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005918/0.5293, allocations: 198 kB / 0.6615 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-05/0.5294, allocations: 27.98 kB / 0.6615 GB, free: 1.328 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009516/0.5304, allocations: 0.6352 MB / 0.6622 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5304, allocations: 0 / 0.6622 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002086/0.5325, allocations: 0.6983 MB / 0.6629 GB, free: 15.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * 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.01635/0.5488, allocations: 6.448 MB / 0.6691 GB, free: 9.504 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01208/0.561, allocations: 4.597 MB / 0.6736 GB, free: 4.891 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.561, allocations: 0 / 0.6736 GB, free: 4.891 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004846/0.5659, allocations: 1.751 MB / 0.6753 GB, free: 3.137 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5669, allocations: 107.3 kB / 0.6754 GB, free: 3.031 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04174/0.6087, allocations: 18.26 MB / 0.6933 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/0.6094, allocations: 1.105 MB / 0.6944 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005766/0.61, allocations: 123.4 kB / 0.6945 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/0.6105, allocations: 419.3 kB / 0.6949 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.6105, allocations: 0 / 0.6949 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05596/0.6665, allocations: 36.89 MB / 0.7309 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.6667, allocations: 208.3 kB / 0.7311 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.006, allocations: 0 / 0.7311 GB, free: 9.945 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)