Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.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/Complex 4.0.0+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/iPSL 1.1.1/package.mo", uses=false) Using package iPSL with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") translateModel(iPSL.Examples.Machines.PSAT.Order5_1test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009075/0.0009076, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.4224/0.4224, allocations: 50.21 MB / 320.6 MB, free: 3.359 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: iPSL requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: iPSL requested package Complex of version 3.2.1. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007446/0.0007447, allocations: 18.81 kB / 390.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1351, allocations: 59.32 MB / 449.7 MB, free: 5.426 MB / 382.1 MB Notification: Performance of NFInst.instantiate(iPSL.Examples.Machines.PSAT.Order5_1test2): time 0.002592/0.1377, allocations: 1.932 MB / 451.7 MB, free: 3.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.1409, allocations: 1.995 MB / 453.7 MB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.1413, allocations: 16 kB / 453.7 MB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1415, allocations: 67.36 kB / 453.7 MB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.1419, allocations: 147.1 kB / 453.9 MB, free: 1.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1434, allocations: 0.6339 MB / 454.5 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2414/0.3849, allocations: 0.7424 MB / 455.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005138/0.3854, allocations: 200.6 kB / 455.5 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.386, allocations: 345.7 kB / 455.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.3865, allocations: 0.4946 MB / 456.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.45e-05/0.3866, allocations: 45.81 kB / 456.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.387, allocations: 133.5 kB / 456.5 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3871, allocations: 173.5 kB / 456.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3872, allocations: 136.8 kB / 456.8 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.3879, allocations: 0.8232 MB / 457.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3879, allocations: 0 / 457.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3879, allocations: 0 / 457.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.3879, allocations: 2.719 kB / 457.6 MB, free: 38.16 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005175/0.3931, allocations: 1.896 MB / 459.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3932, allocations: 11.59 kB / 459.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/0.3971, allocations: 0.6651 MB / 460.2 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007844/0.3979, allocations: 0.5614 MB / 460.7 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.3981, allocations: 219.4 kB / 460.9 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.3982, allocations: 73.09 kB / 461 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.3999, allocations: 0.9948 MB / 462 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3999, allocations: 0 / 462 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.4, allocations: 28 kB / 462 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.4, allocations: 22.86 kB / 462.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.4017, allocations: 0.9721 MB / 463 MB, free: 36.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.4063, allocations: 3.164 MB / 466.2 MB, free: 36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.4079, allocations: 0.877 MB / 467.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.4091, allocations: 0.7159 MB / 467.8 MB, free: 35.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.4093, allocations: 15.56 kB / 467.8 MB, free: 35.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.4093, allocations: 41.98 kB / 467.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 4.338e-06/0.4093, allocations: 0 / 467.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.02171/0.431, allocations: 7.767 MB / 475.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.4311, allocations: 58.44 kB / 475.7 MB, free: 35.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/0.432, allocations: 0.5694 MB / 476.2 MB, free: 34.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.4322, allocations: 36.64 kB / 476.3 MB, free: 34.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.4325, allocations: 356.6 kB / 476.6 MB, free: 34.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.4328, allocations: 273.6 kB / 476.9 MB, free: 34.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.4328, allocations: 19.34 kB / 476.9 MB, free: 34.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.433, allocations: 374.9 kB / 477.3 MB, free: 34.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.4342, allocations: 0.598 MB / 477.9 MB, free: 33.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.4354, allocations: 0.6948 MB / 478.6 MB, free: 33.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.4366, allocations: 0.6359 MB / 479.2 MB, free: 33.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4367, allocations: 5.281 kB / 479.2 MB, free: 33.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01268/0.4493, allocations: 4.615 MB / 483.8 MB, free: 32.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.4494, allocations: 9.438 kB / 483.8 MB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4494, allocations: 7.406 kB / 483.8 MB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006414/0.4558, allocations: 2.109 MB / 485.9 MB, free: 32.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.4564, allocations: 91.91 kB / 486 MB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02176/0.4782, allocations: 9.476 MB / 495.5 MB, free: 27.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.4794, allocations: 153.7 kB / 495.7 MB, free: 27.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/0.4795, allocations: 28.45 kB / 495.7 MB, free: 27.88 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: order5Type1_Inputs_Outputs.e2d:VARIABLE(start = order5Type1_Inputs_Outputs.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order5Type1_Inputs_Outputs.e1d:VARIABLE(start = order5Type1_Inputs_Outputs.e1d0 fixed = true ) "d-axis transient voltage" type: Real order5Type1_Inputs_Outputs.e1q:VARIABLE(start = order5Type1_Inputs_Outputs.e1q0 fixed = true ) "q-axis transient voltage" 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004057/0.4799, allocations: 209 kB / 495.9 MB, free: 27.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.4801, allocations: 82.8 kB / 496 MB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.4925, allocations: 4.628 MB / 0.4889 GB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/0.4925, allocations: 8 kB / 0.4889 GB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4926, allocations: 5.375 kB / 0.4889 GB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/0.4926, allocations: 7.922 kB / 0.4889 GB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.4943, allocations: 1.044 MB / 0.4899 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4943, allocations: 1.344 kB / 0.4899 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.4949, allocations: 77.31 kB / 0.49 GB, free: 25.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005083/0.4999, allocations: 2.02 MB / 0.492 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/0.5001, allocations: 23.98 kB / 0.492 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/0.5152, allocations: 8.196 MB / 0.5 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.5152, allocations: 0 / 0.5 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/0.5275, allocations: 5.505 MB / 0.5054 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.5278, allocations: 168 kB / 0.5055 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.5281, allocations: 16 kB / 0.5055 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009236/0.529, allocations: 119.8 kB / 0.5057 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005491/0.5296, allocations: 188.7 kB / 0.5058 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/0.5297, allocations: 16 kB / 0.5058 GB, free: 9.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004884/0.5302, allocations: 419.3 kB / 0.5062 GB, free: 8.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5302, allocations: 0 / 0.5062 GB, free: 8.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001201/0.5314, allocations: 339.5 kB / 0.5066 GB, free: 8.301 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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 (49): * Single equations (assignments): 48 * 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.0002235/0.5316, allocations: 126.3 kB / 0.5067 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005238/0.5369, allocations: 2.37 MB / 0.509 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5369, allocations: 0 / 0.509 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003841/0.5407, allocations: 1.657 MB / 0.5106 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007388/0.5415, allocations: 67.38 kB / 0.5107 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.5443, allocations: 1.752 MB / 0.5124 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.5446, allocations: 0.9662 MB / 0.5133 GB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.545, allocations: 56.88 kB / 0.5134 GB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.5451, allocations: 51.42 kB / 0.5134 GB, free: 1.211 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5451, allocations: 0 / 0.5134 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Templates: time 0.03102/0.5762, allocations: 18.29 MB / 0.5313 GB, free: 14.93 MB / 414.1 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.makefile Environment - environmentSimulation: (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order5_1test2.pipe 2>&1) Environment - environmentSimulation: