Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order3test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.001102/0.001102, allocations: 172.2 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.489/1.489, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0009112/0.0009113, allocations: 90.06 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4909/0.4909, allocations: 78.08 MB / 409.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.77e-05, allocations: 4 kB / 485 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1617, allocations: 69.36 MB / 0.5414 GB, free: 6.785 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.6297, allocations: 98.65 MB / 0.6377 GB, free: 0.793 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.6301, allocations: 81.08 kB / 0.6378 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06822/0.6983, allocations: 25.28 MB / 0.6625 GB, free: 7.512 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6984, allocations: 0 / 0.6625 GB, free: 7.512 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.787e-05/0.6984, allocations: 20 kB / 0.6625 GB, free: 7.492 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004692/0.7031, allocations: 1.715 MB / 0.6642 GB, free: 5.734 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.7032, allocations: 8.031 kB / 0.6642 GB, free: 5.727 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.7066, allocations: 0.5487 MB / 0.6647 GB, free: 5.176 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.7085, allocations: 0.7593 MB / 0.6655 GB, free: 4.359 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/0.7088, allocations: 240.5 kB / 0.6657 GB, free: 4.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.709, allocations: 43.95 kB / 0.6657 GB, free: 4.047 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001649/0.7107, allocations: 0.824 MB / 0.6665 GB, free: 3.223 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.7122, allocations: 0.8329 MB / 0.6674 GB, free: 2.379 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.7123, allocations: 0 / 0.6674 GB, free: 2.379 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-05/0.7124, allocations: 4 kB / 0.6674 GB, free: 2.375 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.7124, allocations: 23.25 kB / 0.6674 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006595/0.719, allocations: 3.381 MB / 0.6707 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.7204, allocations: 1.197 MB / 0.6718 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.7211, allocations: 0.5471 MB / 0.6724 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.7213, allocations: 16.77 kB / 0.6724 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.7213, allocations: 43.34 kB / 0.6724 GB, free: 12.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.316e-06/0.7213, allocations: 0 / 0.6724 GB, free: 12.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01203/0.7334, allocations: 3.976 MB / 0.6763 GB, free: 8.906 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.7335, allocations: 85.89 kB / 0.6764 GB, free: 8.801 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.7347, allocations: 0.7014 MB / 0.6771 GB, free: 8.082 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002413/0.7349, allocations: 29.7 kB / 0.6771 GB, free: 8.047 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.7353, allocations: 0.4888 MB / 0.6776 GB, free: 7.551 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.7357, allocations: 304 kB / 0.6779 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.7357, allocations: 0 / 0.6779 GB, free: 7.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.7359, allocations: 334 kB / 0.6782 GB, free: 6.918 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/0.7365, allocations: 426.5 kB / 0.6786 GB, free: 6.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.7373, allocations: 0.5193 MB / 0.6791 GB, free: 5.949 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007047/0.738, allocations: 456.3 kB / 0.6796 GB, free: 5.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.738, allocations: 0 / 0.6796 GB, free: 5.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01186/0.7499, allocations: 4.062 MB / 0.6835 GB, free: 1.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002968/0.7502, allocations: 0.796 MB / 0.6843 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.7503, allocations: 4 kB / 0.6843 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005479/0.7558, allocations: 1.681 MB / 0.6859 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/0.7566, allocations: 151.8 kB / 0.6861 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.7706, allocations: 7.044 MB / 0.693 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.7721, allocations: 183.1 kB / 0.6931 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.897e-05/0.7722, allocations: 35.89 kB / 0.6932 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.7722, allocations: 4 kB / 0.6932 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01172/0.784, allocations: 3.902 MB / 0.697 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.7841, allocations: 8 kB / 0.697 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005452/0.7895, allocations: 1.683 MB / 0.6986 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.7903, allocations: 136.5 kB / 0.6988 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.8046, allocations: 7.069 MB / 0.7057 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.8062, allocations: 163.2 kB / 0.7058 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.502e-05/0.8063, allocations: 32 kB / 0.7059 GB, free: 10.24 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real 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 (69): * Single equations (assignments): 68 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003637/0.8067, allocations: 131.4 kB / 0.706 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01172/0.8184, allocations: 3.982 MB / 0.7099 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005124/0.819, allocations: 110.6 kB / 0.71 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.8309, allocations: 4.083 MB / 0.714 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.831, allocations: 8 kB / 0.714 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.831, allocations: 4 kB / 0.714 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.957e-05/0.831, allocations: 7.938 kB / 0.714 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.845, allocations: 5.606 MB / 0.7195 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.8451, allocations: 0 / 0.7195 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/0.8458, allocations: 116.4 kB / 0.7196 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005199/0.851, allocations: 1.66 MB / 0.7212 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.8512, allocations: 0 / 0.7212 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/0.8635, allocations: 6.206 MB / 0.7273 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.8635, allocations: 3.953 kB / 0.7273 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/0.8772, allocations: 4.819 MB / 0.732 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.8777, allocations: 205.3 kB / 0.7322 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.8779, allocations: 8.031 kB / 0.7322 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.879, allocations: 131.9 kB / 0.7323 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006123/0.8797, allocations: 204.4 kB / 0.7325 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/0.8797, allocations: 26.5 kB / 0.7325 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007522/0.8805, allocations: 0.545 MB / 0.733 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8805, allocations: 0 / 0.733 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001839/0.8824, allocations: 0.6082 MB / 0.7336 GB, free: 13.46 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.0135/0.8959, allocations: 5.407 MB / 0.7389 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009418/0.9053, allocations: 3.417 MB / 0.7423 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.9054, allocations: 0 / 0.7423 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004239/0.9096, allocations: 1.431 MB / 0.7437 GB, free: 3.137 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.9105, allocations: 68.3 kB / 0.7437 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.9145, allocations: 1.69 MB / 0.7454 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000757/0.9153, allocations: 1.127 MB / 0.7465 GB, free: 196 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000709/0.916, allocations: 160.5 kB / 0.7466 GB, free: 32 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.9165, allocations: 407.4 kB / 0.747 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.9165, allocations: 0 / 0.747 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3704/1.287, allocations: 35.31 MB / 0.7815 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/1.287, allocations: 125.3 kB / 0.7816 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.013/4.3, allocations: 0.6562 kB / 0.7816 GB, free: 148.2 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)