Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005497/0.005497, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000974/0.0009739, allocations: 94.8 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07466/0.07466, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.437/0.437, allocations: 78.51 MB / 459.6 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005074, allocations: 30.92 kB / 0.528 GB, free: 35.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 69.24 MB / 0.5956 GB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.2584, allocations: 98.84 MB / 0.6922 GB, free: 1.316 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.2587, allocations: 87.94 kB / 0.6922 GB, free: 1.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3122/0.5709, allocations: 22.75 MB / 0.7145 GB, free: 94.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5709, allocations: 1.344 kB / 0.7145 GB, free: 94.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.465e-05/0.571, allocations: 15.97 kB / 0.7145 GB, free: 94.34 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.005283/0.5763, allocations: 1.782 MB / 0.7162 GB, free: 93.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.5764, allocations: 14.45 kB / 0.7162 GB, free: 93.15 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003239/0.5767, allocations: 121.3 kB / 0.7163 GB, free: 93.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/0.58, allocations: 0.5502 MB / 0.7169 GB, free: 92.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.5815, allocations: 0.6861 MB / 0.7176 GB, free: 92.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.5817, allocations: 265.9 kB / 0.7178 GB, free: 92 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.5819, allocations: 62.59 kB / 0.7179 GB, free: 91.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.5838, allocations: 1.018 MB / 0.7189 GB, free: 91.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.5838, allocations: 4 kB / 0.7189 GB, free: 91.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.5839, allocations: 27.91 kB / 0.7189 GB, free: 91.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.5839, allocations: 19.28 kB / 0.7189 GB, free: 91.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.5861, allocations: 1.068 MB / 0.7199 GB, free: 90.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006063/0.5922, allocations: 3.221 MB / 0.7231 GB, free: 88.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.5939, allocations: 1.375 MB / 0.7244 GB, free: 86.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.434e-05/0.5941, allocations: 13 kB / 0.7244 GB, free: 86.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.5941, allocations: 43.56 kB / 0.7245 GB, free: 86.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 2.244e-06/0.5941, allocations: 0 / 0.7245 GB, free: 86.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.0223/0.6164, allocations: 7.693 MB / 0.732 GB, free: 78.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.6165, allocations: 60.41 kB / 0.7321 GB, free: 78.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009263/0.6174, allocations: 0.6573 MB / 0.7327 GB, free: 78.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.6175, allocations: 45.7 kB / 0.7327 GB, free: 78.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.6178, allocations: 444.2 kB / 0.7332 GB, free: 77.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.6181, allocations: 291.7 kB / 0.7334 GB, free: 77.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.6181, allocations: 16 kB / 0.7335 GB, free: 77.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.6182, allocations: 334 kB / 0.7338 GB, free: 76.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.6193, allocations: 0.6344 MB / 0.7344 GB, free: 76.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.6205, allocations: 0.7375 MB / 0.7351 GB, free: 75.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.6217, allocations: 0.6797 MB / 0.7358 GB, free: 74.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6217, allocations: 0 / 0.7358 GB, free: 74.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01194/0.6337, allocations: 4.775 MB / 0.7404 GB, free: 70.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6337, allocations: 4 kB / 0.7405 GB, free: 70.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6337, allocations: 7.938 kB / 0.7405 GB, free: 70.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005788/0.6395, allocations: 2.092 MB / 0.7425 GB, free: 67.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.6401, allocations: 119.8 kB / 0.7426 GB, free: 67.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.659, allocations: 9.986 MB / 0.7524 GB, free: 57.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.6603, allocations: 171.3 kB / 0.7525 GB, free: 57.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.6605, allocations: 31.98 kB / 0.7526 GB, free: 57.52 MB / 474.7 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 (62): * Single equations (assignments): 61 * 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.0005574/0.6611, allocations: 216.5 kB / 0.7528 GB, free: 57.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.6614, allocations: 106.7 kB / 0.7529 GB, free: 57.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.6733, allocations: 4.739 MB / 0.7575 GB, free: 52.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.6733, allocations: 8 kB / 0.7575 GB, free: 52.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.6733, allocations: 0 / 0.7575 GB, free: 52.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6733, allocations: 7.984 kB / 0.7575 GB, free: 52.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.6866, allocations: 6.246 MB / 0.7636 GB, free: 46.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6866, allocations: 0 / 0.7636 GB, free: 46.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.6871, allocations: 99.89 kB / 0.7637 GB, free: 45.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005342/0.6924, allocations: 2.057 MB / 0.7657 GB, free: 43.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/0.6925, allocations: 19.98 kB / 0.7657 GB, free: 43.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/0.7089, allocations: 8.623 MB / 0.7742 GB, free: 35.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.709, allocations: 4 kB / 0.7742 GB, free: 35.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.7228, allocations: 5.673 MB / 0.7797 GB, free: 29.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/0.7233, allocations: 191.6 kB / 0.7799 GB, free: 29.19 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.7237, allocations: 12 kB / 0.7799 GB, free: 29.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.7248, allocations: 131.9 kB / 0.78 GB, free: 29.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006302/0.7254, allocations: 196.6 kB / 0.7802 GB, free: 28.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/0.7255, allocations: 16 kB / 0.7802 GB, free: 28.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007119/0.7263, allocations: 0.5264 MB / 0.7807 GB, free: 28.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7263, allocations: 0 / 0.7807 GB, free: 28.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001432/0.7277, allocations: 403.5 kB / 0.7811 GB, free: 27.93 MB / 474.7 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.01353/0.7412, allocations: 6.257 MB / 0.7872 GB, free: 21.63 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005461/0.7467, allocations: 2.407 MB / 0.7896 GB, free: 19.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7468, allocations: 0 / 0.7896 GB, free: 19.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004112/0.7509, allocations: 1.693 MB / 0.7912 GB, free: 17.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008214/0.7517, allocations: 75.33 kB / 0.7913 GB, free: 17.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02137/0.7731, allocations: 11.63 MB / 0.8027 GB, free: 5.531 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.7736, allocations: 1.056 MB / 0.8037 GB, free: 4.449 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.774, allocations: 57.22 kB / 0.8038 GB, free: 4.391 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.7744, allocations: 363.3 kB / 0.8041 GB, free: 4.039 MB / 474.7 MB Notification: Performance of SimCode: time 1.784e-06/0.7744, allocations: 4 kB / 0.8041 GB, free: 4.035 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04813/0.8226, allocations: 26.97 MB / 0.8304 GB, free: 9.203 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.8228, allocations: 189.2 kB / 0.8306 GB, free: 8.969 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.382, allocations: 0 / 0.8306 GB, free: 8.969 MB / 0.4949 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)