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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 172.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 93.73 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5069/0.5069, allocations: 78.95 MB / 410.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.256e-05/2.271e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 69.52 MB / 0.5425 GB, free: 5.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.582, allocations: 99.63 MB / 0.6398 GB, free: 14.36 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.5824, allocations: 85.36 kB / 0.6399 GB, free: 14.28 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07736/0.6598, allocations: 26.1 MB / 0.6654 GB, free: 4.238 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6599, allocations: 0.8438 kB / 0.6654 GB, free: 4.238 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001366/0.66, allocations: 24 kB / 0.6654 GB, free: 4.215 MB / 474.7 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.00595/0.666, allocations: 1.707 MB / 0.6671 GB, free: 2.461 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.6661, allocations: 8.031 kB / 0.6671 GB, free: 2.453 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/0.67, allocations: 0.5526 MB / 0.6676 GB, free: 1.898 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.6727, allocations: 0.7631 MB / 0.6684 GB, free: 1.082 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003937/0.6731, allocations: 244.1 kB / 0.6686 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003596/0.6735, allocations: 47.91 kB / 0.6687 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002177/0.6757, allocations: 0.8166 MB / 0.6695 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.6778, allocations: 0.838 MB / 0.6703 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.6778, allocations: 0 / 0.6703 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.678, allocations: 0 / 0.6703 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.678, allocations: 16 kB / 0.6703 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008312/0.6863, allocations: 3.424 MB / 0.6736 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.6881, allocations: 1.197 MB / 0.6748 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/0.689, allocations: 0.5513 MB / 0.6753 GB, free: 9.645 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.6891, allocations: 20.77 kB / 0.6754 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.6892, allocations: 39.34 kB / 0.6754 GB, free: 9.574 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.995e-06/0.6892, allocations: 3.938 kB / 0.6754 GB, free: 9.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01275/0.702, allocations: 3.966 MB / 0.6793 GB, free: 5.594 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.7021, allocations: 89.89 kB / 0.6794 GB, free: 5.484 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.7038, allocations: 0.6935 MB / 0.68 GB, free: 4.773 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002809/0.7041, allocations: 25.7 kB / 0.6801 GB, free: 4.742 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000569/0.7047, allocations: 0.4941 MB / 0.6805 GB, free: 4.242 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005946/0.7053, allocations: 299.4 kB / 0.6808 GB, free: 3.945 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.7055, allocations: 4 kB / 0.6808 GB, free: 3.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.7057, allocations: 333.9 kB / 0.6811 GB, free: 3.609 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009191/0.7066, allocations: 430.5 kB / 0.6816 GB, free: 3.191 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.7076, allocations: 0.5232 MB / 0.6821 GB, free: 2.637 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009587/0.7086, allocations: 466 kB / 0.6825 GB, free: 2.184 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.7086, allocations: 0 / 0.6825 GB, free: 2.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01317/0.7218, allocations: 4.12 MB / 0.6865 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004654/0.7223, allocations: 0.8035 MB / 0.6873 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.7224, allocations: 0 / 0.6873 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005983/0.7284, allocations: 1.666 MB / 0.6889 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000826/0.7292, allocations: 143.8 kB / 0.6891 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/0.7457, allocations: 7.053 MB / 0.696 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.7474, allocations: 180.5 kB / 0.6961 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/0.7477, allocations: 31.98 kB / 0.6962 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.7478, allocations: 4 kB / 0.6962 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01289/0.7607, allocations: 3.968 MB / 0.7001 GB, free: 16 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.7608, allocations: 4 kB / 0.7001 GB, free: 12 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005859/0.7666, allocations: 1.667 MB / 0.7017 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/0.7675, allocations: 131.8 kB / 0.7018 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/0.7838, allocations: 7.06 MB / 0.7087 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.7855, allocations: 167.2 kB / 0.7089 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/0.7858, allocations: 28 kB / 0.7089 GB, free: 6.836 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0005406/0.7863, allocations: 132.1 kB / 0.709 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01259/0.7989, allocations: 3.972 MB / 0.7129 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007026/0.7997, allocations: 114.6 kB / 0.713 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/0.8132, allocations: 4.091 MB / 0.717 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.8133, allocations: 8 kB / 0.717 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8133, allocations: 4 kB / 0.717 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-05/0.8134, allocations: 11.94 kB / 0.717 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.8294, allocations: 5.611 MB / 0.7225 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.8295, allocations: 0 / 0.7225 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/0.8303, allocations: 115.8 kB / 0.7226 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005537/0.8358, allocations: 1.663 MB / 0.7242 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002653/0.8361, allocations: 9.031 kB / 0.7242 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/0.8497, allocations: 6.182 MB / 0.7303 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.8497, allocations: 3.953 kB / 0.7303 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/0.8637, allocations: 4.831 MB / 0.735 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.8644, allocations: 199.5 kB / 0.7352 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004842/0.8649, allocations: 3.984 kB / 0.7352 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.8663, allocations: 131.9 kB / 0.7353 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000751/0.8671, allocations: 204.4 kB / 0.7355 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.8673, allocations: 24 kB / 0.7355 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00108/0.8684, allocations: 0.5372 MB / 0.7361 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8684, allocations: 0 / 0.7361 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002845/0.8713, allocations: 0.6092 MB / 0.7367 GB, free: 10.06 MB / 0.5417 GB 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 () * 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.01463/0.8859, allocations: 5.423 MB / 0.742 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01064/0.8966, allocations: 3.412 MB / 0.7453 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.8967, allocations: 4.125 kB / 0.7453 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004583/0.9013, allocations: 1.43 MB / 0.7467 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.9025, allocations: 67.8 kB / 0.7468 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005394/0.9079, allocations: 1.756 MB / 0.7485 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009011/0.9089, allocations: 1.13 MB / 0.7496 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000883/0.9098, allocations: 162.4 kB / 0.7497 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.9104, allocations: 411.3 kB / 0.7501 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of SimCode: time 1.313e-06/0.9104, allocations: 3.938 kB / 0.7501 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3782/1.289, allocations: 35.21 MB / 0.7845 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/1.289, allocations: 137 kB / 0.7846 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.309/4.598, allocations: 5.25 kB / 0.7846 GB, free: 145.7 MB / 0.5573 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)