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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.000894, allocations: 89.91 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4653/0.4653, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.636e-05, allocations: 0 / 492.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3163, allocations: 69.51 MB / 0.5491 GB, free: 19.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4414, allocations: 100.3 MB / 0.6471 GB, free: 15.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.4417, allocations: 87.89 kB / 0.6471 GB, free: 15.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06917/0.5109, allocations: 26.43 MB / 0.673 GB, free: 4.621 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.511, allocations: 0 / 0.673 GB, free: 4.621 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.711e-05/0.511, allocations: 23.94 kB / 0.673 GB, free: 4.598 MB / 490.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.004428/0.5155, allocations: 1.703 MB / 0.6746 GB, free: 2.848 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.5155, allocations: 15.97 kB / 0.6747 GB, free: 2.832 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.5187, allocations: 0.5565 MB / 0.6752 GB, free: 2.273 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.5203, allocations: 0.7592 MB / 0.6759 GB, free: 1.457 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/0.5206, allocations: 272.1 kB / 0.6762 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.5208, allocations: 76.25 kB / 0.6763 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.5225, allocations: 0.9461 MB / 0.6772 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.5225, allocations: 0 / 0.6772 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.474e-05/0.5226, allocations: 28 kB / 0.6772 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.5226, allocations: 20 kB / 0.6772 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3015/0.8242, allocations: 0.8541 MB / 0.6781 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006986/0.8312, allocations: 3.539 MB / 0.6815 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.8329, allocations: 1.222 MB / 0.6827 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008928/0.8338, allocations: 0.578 MB / 0.6833 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.8339, allocations: 15.33 kB / 0.6833 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.834, allocations: 45.25 kB / 0.6834 GB, free: 102.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.775e-06/0.834, allocations: 0 / 0.6834 GB, free: 102.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01268/0.8467, allocations: 4.039 MB / 0.6873 GB, free: 102.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.8468, allocations: 89.47 kB / 0.6874 GB, free: 102.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/0.8477, allocations: 0.7633 MB / 0.6881 GB, free: 102.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.8479, allocations: 38.39 kB / 0.6882 GB, free: 102.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.8482, allocations: 492.1 kB / 0.6886 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.8484, allocations: 324.2 kB / 0.6889 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.8485, allocations: 18 kB / 0.689 GB, free: 102.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.8486, allocations: 338.6 kB / 0.6893 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.8492, allocations: 440 kB / 0.6897 GB, free: 101.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.8499, allocations: 0.5382 MB / 0.6902 GB, free: 101.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/0.8506, allocations: 480.4 kB / 0.6907 GB, free: 101.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.8506, allocations: 3.953 kB / 0.6907 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01146/0.8621, allocations: 4.194 MB / 0.6948 GB, free: 100.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.8623, allocations: 0.7939 MB / 0.6956 GB, free: 99.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.8624, allocations: 6.625 kB / 0.6956 GB, free: 99.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005257/0.8676, allocations: 1.711 MB / 0.6972 GB, free: 99.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.8683, allocations: 141.4 kB / 0.6974 GB, free: 99.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.8815, allocations: 7.261 MB / 0.7045 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.8832, allocations: 198.6 kB / 0.7047 GB, free: 95.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.829e-05/0.8833, allocations: 33.25 kB / 0.7047 GB, free: 95.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.8833, allocations: 3.344 kB / 0.7047 GB, free: 95.48 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0113/0.8946, allocations: 4.06 MB / 0.7087 GB, free: 93.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.8946, allocations: 4 kB / 0.7087 GB, free: 93.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004994/0.8996, allocations: 1.722 MB / 0.7103 GB, free: 92.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/0.9003, allocations: 127.7 kB / 0.7105 GB, free: 92.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/0.9131, allocations: 7.25 MB / 0.7175 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.9145, allocations: 194.2 kB / 0.7177 GB, free: 85.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.9147, allocations: 27.38 kB / 0.7178 GB, free: 85.52 MB / 490.7 MB 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.0002716/0.915, allocations: 150.4 kB / 0.7179 GB, free: 85.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.9153, allocations: 114.6 kB / 0.718 GB, free: 85.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.9268, allocations: 4.181 MB / 0.7221 GB, free: 82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.9268, allocations: 8 kB / 0.7221 GB, free: 81.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.9269, allocations: 0 / 0.7221 GB, free: 81.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.9269, allocations: 3.891 kB / 0.7221 GB, free: 81.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.9401, allocations: 5.795 MB / 0.7278 GB, free: 77.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.9402, allocations: 0 / 0.7278 GB, free: 77.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.9409, allocations: 117 kB / 0.7279 GB, free: 77.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005041/0.946, allocations: 1.677 MB / 0.7295 GB, free: 75.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.9462, allocations: 16 kB / 0.7295 GB, free: 75.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.9579, allocations: 6.313 MB / 0.7357 GB, free: 69.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9579, allocations: 0 / 0.7357 GB, free: 69.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.9706, allocations: 4.909 MB / 0.7405 GB, free: 64.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.971, allocations: 218.8 kB / 0.7407 GB, free: 63.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.9712, allocations: 23.98 kB / 0.7407 GB, free: 63.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.9724, allocations: 147.9 kB / 0.7409 GB, free: 63.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005934/0.973, allocations: 204.4 kB / 0.7411 GB, free: 63.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/0.9731, allocations: 20 kB / 0.7411 GB, free: 63.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007253/0.9739, allocations: 0.5969 MB / 0.7417 GB, free: 62.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9739, allocations: 0 / 0.7417 GB, free: 62.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001884/0.9758, allocations: 0.6607 MB / 0.7423 GB, free: 62.31 MB / 490.7 MB 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.0002883/0.9761, allocations: 153.9 kB / 0.7424 GB, free: 62.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008693/0.9848, allocations: 3.528 MB / 0.7459 GB, free: 58.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.9848, allocations: 4 kB / 0.7459 GB, free: 58.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003838/0.9886, allocations: 1.468 MB / 0.7473 GB, free: 57.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.9893, allocations: 85.69 kB / 0.7474 GB, free: 57.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.9923, allocations: 1.639 MB / 0.749 GB, free: 55.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.9929, allocations: 1.134 MB / 0.7501 GB, free: 54.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006326/0.9935, allocations: 163.5 kB / 0.7503 GB, free: 54.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.9937, allocations: 43.44 kB / 0.7503 GB, free: 54.04 MB / 490.7 MB Notification: Performance of SimCode: time 5.82e-07/0.9937, allocations: 0 / 0.7503 GB, free: 54.04 MB / 490.7 MB Notification: Performance of Templates: time 0.03805/1.032, allocations: 28.51 MB / 0.7782 GB, free: 25.82 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)