Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1337/0.1337, allocations: 12.59 MB / 28.22 MB, free: 0.7305 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 115.4 kB / 31.84 MB, free: 3.875 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 187.8 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4534/0.4534, allocations: 78.51 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous 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: 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: OpenIPSL 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: Performance of FrontEnd - loaded program: time 0.00383/0.00383, allocations: 138.1 kB / 0.5558 GB, free: 28.42 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1431, allocations: 68.12 MB / 0.6223 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.005153/0.1484, allocations: 2.994 MB / 0.6253 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1509, allocations: 0.9947 MB / 0.6262 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005179/0.1514, allocations: 8 kB / 0.6263 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004753/0.152, allocations: 95.27 kB / 0.6263 GB, free: 11.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006693/0.1527, allocations: 146.9 kB / 0.6265 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1539, allocations: 474.1 kB / 0.6269 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007008/0.1546, allocations: 0.502 MB / 0.6274 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.1549, allocations: 92.84 kB / 0.6275 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.1553, allocations: 215.1 kB / 0.6277 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005486/0.1559, allocations: 282.8 kB / 0.628 GB, free: 9.645 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.156, allocations: 44 kB / 0.628 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.1563, allocations: 99.97 kB / 0.6281 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1564, allocations: 107.5 kB / 0.6282 GB, free: 9.398 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.1567, allocations: 230.7 kB / 0.6284 GB, free: 9.172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.1574, allocations: 0.5602 MB / 0.629 GB, free: 8.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1574, allocations: 0 / 0.629 GB, free: 8.609 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1575, allocations: 0 / 0.629 GB, free: 8.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.1575, allocations: 0 / 0.629 GB, free: 8.609 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003551/0.161, allocations: 1.137 MB / 0.6301 GB, free: 7.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1611, allocations: 19.92 kB / 0.6301 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.1628, allocations: 268.4 kB / 0.6304 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.1634, allocations: 402.5 kB / 0.6308 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.1636, allocations: 92.08 kB / 0.6309 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.607e-05/0.1637, allocations: 28 kB / 0.6309 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008654/0.1645, allocations: 404.7 kB / 0.6313 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1646, allocations: 0 / 0.6313 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.1646, allocations: 8 kB / 0.6313 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1646, allocations: 8 kB / 0.6313 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.1655, allocations: 390 kB / 0.6317 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.1676, allocations: 1.084 MB / 0.6327 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006765/0.1744, allocations: 1.385 MB / 0.6341 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/0.1751, allocations: 272.7 kB / 0.6343 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.57e-05/0.1752, allocations: 11.92 kB / 0.6343 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1752, allocations: 38.5 kB / 0.6344 GB, free: 2.914 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.765e-06/0.1752, allocations: 4 kB / 0.6344 GB, free: 2.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006715/0.182, allocations: 1.955 MB / 0.6363 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.182, allocations: 59.39 kB / 0.6363 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.1826, allocations: 405.6 kB / 0.6367 GB, free: 416 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.1826, allocations: 33.7 kB / 0.6368 GB, free: 376 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1828, allocations: 208.7 kB / 0.637 GB, free: 164 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.1829, allocations: 118.9 kB / 0.6371 GB, free: 44 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.1831, allocations: 65.97 kB / 0.6371 GB, free: 15.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1832, allocations: 350.8 kB / 0.6375 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.1837, allocations: 232.5 kB / 0.6377 GB, free: 15.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.1843, allocations: 229.2 kB / 0.6379 GB, free: 15.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1853, allocations: 498.8 kB / 0.6384 GB, free: 14.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1853, allocations: 0 / 0.6384 GB, free: 14.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004231/0.1896, allocations: 1.28 MB / 0.6396 GB, free: 13.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.1896, allocations: 10.97 kB / 0.6396 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1896, allocations: 0 / 0.6396 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/0.1927, allocations: 0.7595 MB / 0.6404 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.193, allocations: 39.92 kB / 0.6404 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006501/0.1995, allocations: 3.109 MB / 0.6435 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.2001, allocations: 59.73 kB / 0.6435 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.2002, allocations: 8 kB / 0.6435 GB, free: 9.254 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002683/0.2005, allocations: 149.7 kB / 0.6437 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.2006, allocations: 43.7 kB / 0.6437 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.2045, allocations: 1.21 MB / 0.6449 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2045, allocations: 4 kB / 0.6449 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.2045, allocations: 8 kB / 0.6449 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.2045, allocations: 7.922 kB / 0.6449 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.2053, allocations: 0.5361 MB / 0.6454 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2053, allocations: 4 kB / 0.6454 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.2056, allocations: 35.98 kB / 0.6455 GB, free: 7.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/0.2079, allocations: 0.6268 MB / 0.6461 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.2079, allocations: 8 kB / 0.6461 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004583/0.2125, allocations: 2.553 MB / 0.6486 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2125, allocations: 0 / 0.6486 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004498/0.217, allocations: 1.586 MB / 0.6501 GB, free: 2.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.2173, allocations: 124.8 kB / 0.6503 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.2175, allocations: 11.92 kB / 0.6503 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/0.218, allocations: 39.97 kB / 0.6503 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.2184, allocations: 79.88 kB / 0.6504 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.2184, allocations: 12 kB / 0.6504 GB, free: 1.949 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004602/0.2189, allocations: 291.2 kB / 0.6507 GB, free: 1.664 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2189, allocations: 0 / 0.6507 GB, free: 1.664 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007835/0.2197, allocations: 139.9 kB / 0.6508 GB, free: 1.527 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003132/0.22, allocations: 111.2 kB / 0.6509 GB, free: 1.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.2236, allocations: 1.084 MB / 0.652 GB, free: 276 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2236, allocations: 3.938 kB / 0.652 GB, free: 272 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.2254, allocations: 0.7247 MB / 0.6527 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.2259, allocations: 37.5 kB / 0.6527 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.228, allocations: 0.8617 MB / 0.6536 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.2287, allocations: 0.8149 MB / 0.6544 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.2289, allocations: 26.97 kB / 0.6544 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.229, allocations: 31.44 kB / 0.6544 GB, free: 13.66 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.229, allocations: 0 / 0.6544 GB, free: 13.66 MB / 478.1 MB Notification: Performance of Templates: time 0.01581/0.2448, allocations: 8.41 MB / 0.6626 GB, free: 5.25 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)