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.0008855/0.0008856, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.469/1.469, allocations: 223.3 MB / 239.4 MB, free: 5.41 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.001765/0.001766, allocations: 180.5 kB / 290.6 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6523/0.6523, allocations: 91.93 MB / 433.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004429, allocations: 12 kB / 0.5049 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4863, allocations: 72.46 MB / 0.5756 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.005281/0.4916, allocations: 6.271 MB / 0.5818 GB, free: 32.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.4958, allocations: 1.998 MB / 0.5837 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009337/0.4967, allocations: 11.75 kB / 0.5837 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000715/0.4975, allocations: 186.6 kB / 0.5839 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.4993, allocations: 0.6434 MB / 0.5845 GB, free: 30.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.5007, allocations: 0.6202 MB / 0.5851 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.5024, allocations: 1.399 MB / 0.5865 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005228/0.503, allocations: 269.7 kB / 0.5868 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008533/0.5038, allocations: 0.5187 MB / 0.5873 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007396/0.5046, allocations: 0.6547 MB / 0.5879 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.5047, allocations: 51.91 kB / 0.588 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.5053, allocations: 188.4 kB / 0.5881 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.5055, allocations: 225 kB / 0.5883 GB, free: 28.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004318/0.5059, allocations: 0.5799 MB / 0.5889 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.5071, allocations: 1.438 MB / 0.5903 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5072, allocations: 0 / 0.5903 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5072, allocations: 0 / 0.5903 GB, free: 27.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.5072, allocations: 3.781 kB / 0.5903 GB, free: 27.74 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.00788/0.5151, allocations: 2.363 MB / 0.5926 GB, free: 26.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.5152, allocations: 9.625 kB / 0.5926 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003208/0.5155, allocations: 127.9 kB / 0.5928 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/0.5206, allocations: 0.7827 MB / 0.5935 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.5223, allocations: 0.8121 MB / 0.5943 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.5226, allocations: 261.2 kB / 0.5946 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.5228, allocations: 77.91 kB / 0.5946 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.5254, allocations: 1.213 MB / 0.5958 GB, free: 25.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5254, allocations: 0 / 0.5958 GB, free: 25.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.86e-05/0.5255, allocations: 26.78 kB / 0.5958 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.5256, allocations: 22.31 kB / 0.5959 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/0.5283, allocations: 1.169 MB / 0.597 GB, free: 24.84 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.007044/0.5354, allocations: 3.551 MB / 0.6005 GB, free: 22.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.538, allocations: 1.519 MB / 0.602 GB, free: 21.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.5397, allocations: 0.8257 MB / 0.6028 GB, free: 21.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.475e-05/0.5399, allocations: 14.64 kB / 0.6028 GB, free: 21.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.5399, allocations: 47.09 kB / 0.6028 GB, free: 21.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.156e-06/0.5399, allocations: 4 kB / 0.6028 GB, free: 21.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.03169/0.5716, allocations: 8.079 MB / 0.6107 GB, free: 20.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.5717, allocations: 90.14 kB / 0.6108 GB, free: 20.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.5736, allocations: 0.9383 MB / 0.6117 GB, free: 19.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002896/0.5739, allocations: 41.02 kB / 0.6118 GB, free: 19.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.5743, allocations: 490.4 kB / 0.6122 GB, free: 19.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.5747, allocations: 319.8 kB / 0.6125 GB, free: 18.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.5749, allocations: 104.3 kB / 0.6126 GB, free: 18.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.575, allocations: 350.3 kB / 0.613 GB, free: 18.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.5769, allocations: 0.7843 MB / 0.6137 GB, free: 18.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.5788, allocations: 0.9112 MB / 0.6146 GB, free: 17.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02126/0.6001, allocations: 5.242 MB / 0.6197 GB, free: 16.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.6002, allocations: 0 / 0.6197 GB, free: 16.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0148/0.615, allocations: 5.14 MB / 0.6248 GB, free: 10.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.6151, allocations: 157.1 kB / 0.6249 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.6152, allocations: 0 / 0.6249 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006258/0.6214, allocations: 2.019 MB / 0.6269 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.6226, allocations: 215.7 kB / 0.6271 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.6438, allocations: 9.329 MB / 0.6362 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.646, allocations: 218.9 kB / 0.6364 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/0.6463, allocations: 35.98 kB / 0.6364 GB, free: 14.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.6464, allocations: 4 kB / 0.6364 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01581/0.6622, allocations: 4.988 MB / 0.6413 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.6623, allocations: 0 / 0.6413 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00684/0.6691, allocations: 2.034 MB / 0.6433 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.6703, allocations: 207.7 kB / 0.6435 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/0.6936, allocations: 9.324 MB / 0.6526 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.6955, allocations: 211.1 kB / 0.6528 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/0.6958, allocations: 35.98 kB / 0.6528 GB, free: 13.77 MB / 462.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.0009014/0.6967, allocations: 316.8 kB / 0.6531 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/0.6972, allocations: 122.5 kB / 0.6533 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.7125, allocations: 4.857 MB / 0.658 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.7125, allocations: 12 kB / 0.658 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.7125, allocations: 3.984 kB / 0.658 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/0.7126, allocations: 3.984 kB / 0.658 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/0.7307, allocations: 6.488 MB / 0.6644 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.7308, allocations: 0 / 0.6644 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007348/0.7316, allocations: 119.8 kB / 0.6645 GB, free: 1.699 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006637/0.7382, allocations: 2.046 MB / 0.6665 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.7385, allocations: 16 kB / 0.6665 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02021/0.7587, allocations: 8.203 MB / 0.6745 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.7587, allocations: 3.938 kB / 0.6745 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/0.7761, allocations: 5.864 MB / 0.6802 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000559/0.7767, allocations: 219.3 kB / 0.6804 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/0.7771, allocations: 16 kB / 0.6805 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.7786, allocations: 151.9 kB / 0.6806 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007423/0.7794, allocations: 196.7 kB / 0.6808 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.7795, allocations: 20.12 kB / 0.6808 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.7807, allocations: 0.6469 MB / 0.6814 GB, free: 136 kB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7807, allocations: 4 kB / 0.6814 GB, free: 132 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.002579/0.7833, allocations: 0.6906 MB / 0.6821 GB, free: 15.43 MB / 494.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.01754/0.8008, allocations: 6.44 MB / 0.6884 GB, free: 8.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01355/0.8144, allocations: 4.594 MB / 0.6929 GB, free: 4.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.8145, allocations: 0 / 0.6929 GB, free: 4.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005503/0.82, allocations: 1.752 MB / 0.6946 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.8217, allocations: 104.2 kB / 0.6947 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04882/0.8705, allocations: 18.25 MB / 0.7125 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.8716, allocations: 1.105 MB / 0.7136 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008017/0.8725, allocations: 122.9 kB / 0.7137 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/0.8732, allocations: 423.3 kB / 0.7141 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/0.8732, allocations: 0 / 0.7141 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07236/0.9456, allocations: 36.88 MB / 0.7501 GB, free: 9.445 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.9459, allocations: 220.3 kB / 0.7504 GB, free: 9.191 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.902/3.848, allocations: 0 / 0.7504 GB, free: 9.191 MB / 0.545 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/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)