Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_dev_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.0009972/0.0009974, allocations: 100.2 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.392/1.392, allocations: 223.2 MB / 238.9 MB, free: 5.645 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.001186/0.001185, allocations: 181.1 kB / 290.2 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4952/0.4952, allocations: 79.46 MB / 420.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007569/0.000757, allocations: 8 kB / 0.4891 GB, free: 5.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4367, allocations: 69.5 MB / 0.557 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.005099/0.4419, allocations: 5.599 MB / 0.5624 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004024/0.446, allocations: 1.932 MB / 0.5643 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.4477, allocations: 11.5 kB / 0.5643 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.4488, allocations: 168.7 kB / 0.5645 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.4508, allocations: 0.6592 MB / 0.5651 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.4523, allocations: 0.5514 MB / 0.5657 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.4539, allocations: 0.9396 MB / 0.5666 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004109/0.4543, allocations: 261.8 kB / 0.5668 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005942/0.4549, allocations: 0.5132 MB / 0.5673 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006783/0.4556, allocations: 0.6185 MB / 0.5679 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.4557, allocations: 52.88 kB / 0.568 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.4561, allocations: 160.9 kB / 0.5681 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.4563, allocations: 220.5 kB / 0.5684 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.4566, allocations: 220.1 kB / 0.5686 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4577, allocations: 1.082 MB / 0.5696 GB, free: 35.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4577, allocations: 0.875 kB / 0.5696 GB, free: 35.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4577, allocations: 0 / 0.5696 GB, free: 35.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.4577, allocations: 0 / 0.5696 GB, free: 35.9 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.007411/0.4651, allocations: 2.378 MB / 0.5719 GB, free: 34.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4652, allocations: 8.312 kB / 0.572 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002567/0.4655, allocations: 128.5 kB / 0.5721 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/0.4703, allocations: 0.78 MB / 0.5728 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.4718, allocations: 0.7711 MB / 0.5736 GB, free: 34.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.472, allocations: 267.2 kB / 0.5738 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.4722, allocations: 76.22 kB / 0.5739 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.4743, allocations: 1.195 MB / 0.5751 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.4743, allocations: 3.953 kB / 0.5751 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-05/0.4744, allocations: 30.09 kB / 0.5751 GB, free: 33.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.4744, allocations: 17.25 kB / 0.5751 GB, free: 33.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.4766, allocations: 1.165 MB / 0.5763 GB, free: 33.12 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.005582/0.4822, allocations: 3.663 MB / 0.5798 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.4841, allocations: 1.512 MB / 0.5813 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.05e-05/0.4842, allocations: 12.56 kB / 0.5813 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.4842, allocations: 48.56 kB / 0.5814 GB, free: 30.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.306e-06/0.4842, allocations: 3.938 kB / 0.5814 GB, free: 30.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02648/0.5107, allocations: 8.027 MB / 0.5892 GB, free: 28.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.5108, allocations: 90.86 kB / 0.5893 GB, free: 28.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.5126, allocations: 0.9318 MB / 0.5902 GB, free: 28.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003607/0.5129, allocations: 41.92 kB / 0.5903 GB, free: 28.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.5134, allocations: 487.4 kB / 0.5907 GB, free: 27.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/0.5138, allocations: 323.1 kB / 0.591 GB, free: 27.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.5139, allocations: 23.62 kB / 0.5911 GB, free: 27.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.514, allocations: 349.8 kB / 0.5914 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.5159, allocations: 0.7756 MB / 0.5921 GB, free: 26.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.5178, allocations: 0.8976 MB / 0.593 GB, free: 26.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.5194, allocations: 0.834 MB / 0.5938 GB, free: 26.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5194, allocations: 7.953 kB / 0.5938 GB, free: 26.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01562/0.5351, allocations: 5.124 MB / 0.5989 GB, free: 25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.5353, allocations: 0.794 MB / 0.5996 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.5353, allocations: 3.391 kB / 0.5996 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007311/0.5426, allocations: 2.099 MB / 0.6017 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.5438, allocations: 202.5 kB / 0.6019 GB, free: 23.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02438/0.5682, allocations: 9.976 MB / 0.6116 GB, free: 19.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.5701, allocations: 221.1 kB / 0.6118 GB, free: 19.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.5705, allocations: 38.03 kB / 0.6119 GB, free: 19.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5705, allocations: 9 kB / 0.6119 GB, free: 19.42 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01462/0.5851, allocations: 4.97 MB / 0.6167 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.5852, allocations: 8.781 kB / 0.6167 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006195/0.5914, allocations: 2.089 MB / 0.6188 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/0.5924, allocations: 191.7 kB / 0.619 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/0.6139, allocations: 9.962 MB / 0.6287 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.6158, allocations: 203.1 kB / 0.6289 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.6161, allocations: 32 kB / 0.6289 GB, free: 2.734 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (109): * Single equations (assignments): 108 * 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.0009177/0.617, allocations: 330.1 kB / 0.6292 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/0.6175, allocations: 110.6 kB / 0.6293 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.6313, allocations: 4.865 MB / 0.6341 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.6313, allocations: 8 kB / 0.6341 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6314, allocations: 0 / 0.6341 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.6314, allocations: 8.859 kB / 0.6341 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/0.6486, allocations: 6.474 MB / 0.6404 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.6486, allocations: 0 / 0.6404 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006984/0.6493, allocations: 115.9 kB / 0.6405 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006413/0.6558, allocations: 2.052 MB / 0.6425 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.656, allocations: 16 kB / 0.6425 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/0.6763, allocations: 8.638 MB / 0.651 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6764, allocations: 0 / 0.651 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/0.6942, allocations: 5.857 MB / 0.6567 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/0.695, allocations: 205.8 kB / 0.6569 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005688/0.6956, allocations: 20 kB / 0.6569 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001774/0.6974, allocations: 148.8 kB / 0.6571 GB, free: 5.562 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008975/0.6983, allocations: 208.6 kB / 0.6573 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.6985, allocations: 16 kB / 0.6573 GB, free: 5.344 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001267/0.6998, allocations: 0.6391 MB / 0.6579 GB, free: 4.695 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6998, allocations: 0 / 0.6579 GB, free: 4.695 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003087/0.7029, allocations: 0.7022 MB / 0.6586 GB, free: 3.992 MB / 462.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 (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.01725/0.7202, allocations: 6.424 MB / 0.6649 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01402/0.7342, allocations: 4.613 MB / 0.6694 GB, free: 8.906 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.7343, allocations: 4.188 kB / 0.6694 GB, free: 8.902 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005758/0.7401, allocations: 1.744 MB / 0.6711 GB, free: 7.152 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.7417, allocations: 90.08 kB / 0.6712 GB, free: 7.062 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00973/0.7515, allocations: 4.22 MB / 0.6753 GB, free: 2.789 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.7531, allocations: 1.129 MB / 0.6764 GB, free: 1.629 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000911/0.7541, allocations: 114.2 kB / 0.6765 GB, free: 1.516 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009365/0.755, allocations: 419.3 kB / 0.6769 GB, free: 1.105 MB / 478.1 MB Notification: Performance of SimCode: time 1.863e-06/0.7551, allocations: 4 kB / 0.6769 GB, free: 1.102 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0755/0.8306, allocations: 36.25 MB / 0.7123 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.8309, allocations: 209.3 kB / 0.7125 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.467, allocations: 0 / 0.7125 GB, free: 12.93 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1) Environment - environmentSimulation: