Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.001054/0.001054, allocations: 99.86 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.385/1.385, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.00181/0.00181, allocations: 185.1 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6098/0.6098, allocations: 79.46 MB / 420.7 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004158, allocations: 8 kB / 0.4891 GB, free: 5.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4202, allocations: 69.5 MB / 0.557 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004332/0.4246, allocations: 5.076 MB / 0.5619 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.4278, allocations: 1.745 MB / 0.5636 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006161/0.4284, allocations: 13.16 kB / 0.5636 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.4289, allocations: 146.9 kB / 0.5638 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.4304, allocations: 0.6188 MB / 0.5644 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4315, allocations: 499.1 kB / 0.5648 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.4327, allocations: 0.8235 MB / 0.5656 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.433, allocations: 212.7 kB / 0.5659 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.4335, allocations: 466.2 kB / 0.5663 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.434, allocations: 0.5529 MB / 0.5668 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.295e-05/0.4341, allocations: 47.56 kB / 0.5669 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.4345, allocations: 157.8 kB / 0.567 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.4347, allocations: 184.7 kB / 0.5672 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.4349, allocations: 200.2 kB / 0.5674 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008265/0.4357, allocations: 0.9557 MB / 0.5683 GB, free: 36.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.4357, allocations: 0 / 0.5683 GB, free: 36.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4357, allocations: 1.031 kB / 0.5683 GB, free: 36.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.4357, allocations: 0 / 0.5683 GB, free: 36.34 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.006852/0.4426, allocations: 2.197 MB / 0.5705 GB, free: 35.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4426, allocations: 9.75 kB / 0.5705 GB, free: 35.56 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002408/0.4429, allocations: 119 kB / 0.5706 GB, free: 35.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/0.4478, allocations: 0.7771 MB / 0.5714 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.4491, allocations: 0.6635 MB / 0.572 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.4494, allocations: 264.4 kB / 0.5723 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.4495, allocations: 66.31 kB / 0.5723 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.4514, allocations: 1.028 MB / 0.5733 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.4515, allocations: 3.031 kB / 0.5733 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.4516, allocations: 22.88 kB / 0.5734 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.4516, allocations: 20.73 kB / 0.5734 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.4535, allocations: 1.056 MB / 0.5744 GB, free: 34.25 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.005124/0.4586, allocations: 3.382 MB / 0.5777 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.4604, allocations: 1.376 MB / 0.579 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/0.4605, allocations: 11.12 kB / 0.5791 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.4605, allocations: 47.41 kB / 0.5791 GB, free: 31.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.324e-06/0.4605, allocations: 0 / 0.5791 GB, free: 31.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02631/0.4868, allocations: 8.001 MB / 0.5869 GB, free: 29.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4869, allocations: 63.84 kB / 0.587 GB, free: 29.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.4881, allocations: 0.7847 MB / 0.5877 GB, free: 29.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002063/0.4883, allocations: 45.02 kB / 0.5878 GB, free: 29.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.4885, allocations: 433.8 kB / 0.5882 GB, free: 29.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.4888, allocations: 293.8 kB / 0.5885 GB, free: 28.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.4889, allocations: 20.53 kB / 0.5885 GB, free: 28.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.489, allocations: 349.2 kB / 0.5888 GB, free: 28.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4905, allocations: 0.7329 MB / 0.5896 GB, free: 28.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.4921, allocations: 0.8462 MB / 0.5904 GB, free: 27.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.4937, allocations: 0.7797 MB / 0.5911 GB, free: 27.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4937, allocations: 0.8125 kB / 0.5911 GB, free: 27.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01504/0.5087, allocations: 5.039 MB / 0.5961 GB, free: 26.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.5088, allocations: 6.25 kB / 0.5961 GB, free: 26.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.5089, allocations: 3.172 kB / 0.5961 GB, free: 26.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007475/0.5163, allocations: 2.084 MB / 0.5981 GB, free: 26.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5174, allocations: 182.1 kB / 0.5983 GB, free: 26.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/0.5407, allocations: 9.974 MB / 0.608 GB, free: 21.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.5423, allocations: 196.5 kB / 0.6082 GB, free: 21.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.5425, allocations: 36.34 kB / 0.6082 GB, free: 21.84 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.000471/0.5429, allocations: 230.7 kB / 0.6085 GB, free: 21.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.5431, allocations: 109.3 kB / 0.6086 GB, free: 21.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.557, allocations: 4.72 MB / 0.6132 GB, free: 18.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.557, allocations: 12 kB / 0.6132 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5571, allocations: 0.75 kB / 0.6132 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/0.5571, allocations: 4.031 kB / 0.6132 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.5715, allocations: 6.259 MB / 0.6193 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.5716, allocations: 3.984 kB / 0.6193 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.5722, allocations: 95.89 kB / 0.6194 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005805/0.578, allocations: 2.045 MB / 0.6214 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.5782, allocations: 17.12 kB / 0.6214 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/0.5952, allocations: 8.633 MB / 0.6298 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5952, allocations: 4 kB / 0.6298 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.6107, allocations: 5.665 MB / 0.6354 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/0.6113, allocations: 195.6 kB / 0.6356 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.6115, allocations: 19.95 kB / 0.6356 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/0.6125, allocations: 136.8 kB / 0.6357 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006098/0.6131, allocations: 192.6 kB / 0.6359 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/0.6132, allocations: 24 kB / 0.6359 GB, free: 11.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007408/0.6139, allocations: 0.5263 MB / 0.6364 GB, free: 10.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6139, allocations: 0 / 0.6364 GB, free: 10.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001489/0.6154, allocations: 418.5 kB / 0.6368 GB, free: 10.53 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.01648/0.6319, allocations: 6.242 MB / 0.6429 GB, free: 4.246 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007374/0.6393, allocations: 2.585 MB / 0.6455 GB, free: 1.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.6394, allocations: 0 / 0.6455 GB, free: 1.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005247/0.6446, allocations: 1.694 MB / 0.6471 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/0.6455, allocations: 67.3 kB / 0.6472 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.6515, allocations: 3.934 MB / 0.651 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009337/0.6525, allocations: 1.053 MB / 0.652 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004083/0.653, allocations: 79.95 kB / 0.6521 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/0.6536, allocations: 371.3 kB / 0.6525 GB, free: 10.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.984e-06/0.6536, allocations: 0 / 0.6525 GB, free: 10.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05667/0.7103, allocations: 27.06 MB / 0.6789 GB, free: 15.68 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.7105, allocations: 194.3 kB / 0.6791 GB, free: 15.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.141, allocations: 0 / 0.6791 GB, free: 15.44 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) Environment - environmentSimulation: