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.001104/0.001104, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.455/1.455, allocations: 222.9 MB / 239 MB, free: 4.75 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.001716/0.001716, allocations: 196.4 kB / 289.3 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5555/0.5555, allocations: 91.89 MB / 431.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 83.86 kB / 0.5015 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4372, allocations: 71.26 MB / 0.5711 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.00555/0.4428, allocations: 6.161 MB / 0.5771 GB, free: 33.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003609/0.4465, allocations: 1.813 MB / 0.5789 GB, free: 32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.4476, allocations: 15.22 kB / 0.5789 GB, free: 32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007663/0.4484, allocations: 158.9 kB / 0.579 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.4505, allocations: 0.5982 MB / 0.5796 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.4518, allocations: 0.53 MB / 0.5801 GB, free: 31.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.4532, allocations: 1.243 MB / 0.5814 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.4537, allocations: 279 kB / 0.5816 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000602/0.4543, allocations: 0.5207 MB / 0.5821 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005606/0.4549, allocations: 0.6508 MB / 0.5828 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.455, allocations: 84.97 kB / 0.5828 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.4555, allocations: 233.5 kB / 0.5831 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.4556, allocations: 238.6 kB / 0.5833 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.456, allocations: 0.548 MB / 0.5838 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.4572, allocations: 1.342 MB / 0.5851 GB, free: 28.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4572, allocations: 0 / 0.5851 GB, free: 28.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4572, allocations: 0 / 0.5851 GB, free: 28.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.4572, allocations: 0 / 0.5851 GB, free: 28.73 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.007623/0.4649, allocations: 2.349 MB / 0.5874 GB, free: 27.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.4649, allocations: 13.12 kB / 0.5874 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.4651, allocations: 117.9 kB / 0.5876 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004937/0.47, allocations: 0.754 MB / 0.5883 GB, free: 27.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4711, allocations: 0.703 MB / 0.589 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.4714, allocations: 255 kB / 0.5892 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.4716, allocations: 69.84 kB / 0.5893 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.4737, allocations: 0.9631 MB / 0.5902 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4737, allocations: 3.938 kB / 0.5902 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.4738, allocations: 25.81 kB / 0.5903 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.4738, allocations: 16.97 kB / 0.5903 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.4759, allocations: 0.9733 MB / 0.5912 GB, free: 25.98 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.005778/0.4817, allocations: 3.223 MB / 0.5944 GB, free: 24.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.4836, allocations: 1.302 MB / 0.5956 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.4849, allocations: 0.7061 MB / 0.5963 GB, free: 22.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.4851, allocations: 17.84 kB / 0.5964 GB, free: 22.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4851, allocations: 42.72 kB / 0.5964 GB, free: 22.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.875e-06/0.4851, allocations: 0 / 0.5964 GB, free: 22.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02603/0.5111, allocations: 6.47 MB / 0.6027 GB, free: 21.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.5112, allocations: 65.97 kB / 0.6028 GB, free: 21.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.5125, allocations: 0.7874 MB / 0.6035 GB, free: 21.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.5127, allocations: 40.98 kB / 0.6036 GB, free: 21.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.513, allocations: 441.6 kB / 0.604 GB, free: 20.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.5133, allocations: 294.4 kB / 0.6043 GB, free: 20.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.5137, allocations: 188.7 kB / 0.6045 GB, free: 20.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.5138, allocations: 345.3 kB / 0.6048 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.5153, allocations: 0.6587 MB / 0.6054 GB, free: 20.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.5168, allocations: 0.7864 MB / 0.6062 GB, free: 19.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/0.5354, allocations: 4.527 MB / 0.6106 GB, free: 18.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.5355, allocations: 0 / 0.6106 GB, free: 18.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01459/0.5501, allocations: 4.073 MB / 0.6146 GB, free: 17.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.5502, allocations: 8.031 kB / 0.6146 GB, free: 17.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.5502, allocations: 3.094 kB / 0.6146 GB, free: 17.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00593/0.5561, allocations: 1.745 MB / 0.6163 GB, free: 16.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009742/0.5571, allocations: 183.8 kB / 0.6165 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.5759, allocations: 9.065 MB / 0.6253 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.5775, allocations: 151.1 kB / 0.6255 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.5777, allocations: 39.92 kB / 0.6255 GB, free: 6.453 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-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 (101): * Single equations (assignments): 100 * 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.0005572/0.5783, allocations: 221.7 kB / 0.6257 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.5786, allocations: 106.7 kB / 0.6258 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.59, allocations: 3.813 MB / 0.6296 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.5901, allocations: 15.94 kB / 0.6296 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5901, allocations: 0 / 0.6296 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.5901, allocations: 3.984 kB / 0.6296 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.6045, allocations: 5.345 MB / 0.6348 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.6046, allocations: 0 / 0.6348 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.6052, allocations: 87.89 kB / 0.6349 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005954/0.6112, allocations: 1.753 MB / 0.6366 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/0.6114, allocations: 12 kB / 0.6366 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/0.6303, allocations: 8.069 MB / 0.6445 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6304, allocations: 0 / 0.6445 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/0.6451, allocations: 4.7 MB / 0.6491 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.6457, allocations: 187.6 kB / 0.6493 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/0.6461, allocations: 16 kB / 0.6493 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.6473, allocations: 95.89 kB / 0.6494 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007588/0.648, allocations: 204.7 kB / 0.6496 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.6482, allocations: 20 kB / 0.6496 GB, free: 13.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007813/0.649, allocations: 0.538 MB / 0.6501 GB, free: 12.92 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.649, allocations: 0 / 0.6501 GB, free: 12.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001601/0.6506, allocations: 407.5 kB / 0.6505 GB, free: 12.52 MB / 462.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 (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.01486/0.6655, allocations: 5.272 MB / 0.6556 GB, free: 7.211 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006913/0.6724, allocations: 2.324 MB / 0.6579 GB, free: 4.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6724, allocations: 0 / 0.6579 GB, free: 4.867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004799/0.6773, allocations: 1.504 MB / 0.6594 GB, free: 3.355 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6784, allocations: 83.33 kB / 0.6595 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03878/0.7172, allocations: 14.94 MB / 0.674 GB, free: 4.004 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/0.7182, allocations: 1.037 MB / 0.6751 GB, free: 2.941 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004569/0.7186, allocations: 78.31 kB / 0.6751 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/0.7193, allocations: 375.3 kB / 0.6755 GB, free: 2.496 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7193, allocations: 0 / 0.6755 GB, free: 2.496 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05915/0.7784, allocations: 29.51 MB / 0.7043 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.7787, allocations: 216.9 kB / 0.7045 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.542, allocations: 0 / 0.7045 GB, free: 4.887 MB / 0.4981 GB (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/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)