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.08549/0.08549, allocations: 12.59 MB / 28.23 MB, free: 1.051 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.001163/0.001163, allocations: 115.4 kB / 31.84 MB, free: 3.988 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.374/1.374, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.00141/0.001409, allocations: 180.5 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.4504/0.4504, allocations: 78.51 MB / 419.3 MB, free: 11.25 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.002581/0.002581, allocations: 139.2 kB / 0.5558 GB, free: 28.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1586, allocations: 68.13 MB / 0.6224 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004515/0.1631, allocations: 2.998 MB / 0.6253 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1652, allocations: 0.9947 MB / 0.6263 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.1654, allocations: 8 kB / 0.6263 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1657, allocations: 95.27 kB / 0.6264 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.1661, allocations: 162.9 kB / 0.6265 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.1671, allocations: 462.2 kB / 0.627 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.1677, allocations: 0.502 MB / 0.6274 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.1679, allocations: 96.97 kB / 0.6275 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.1682, allocations: 211.1 kB / 0.6277 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.1686, allocations: 286.8 kB / 0.628 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.718e-05/0.1687, allocations: 44 kB / 0.6281 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.1689, allocations: 95.98 kB / 0.6281 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.169, allocations: 111.5 kB / 0.6283 GB, free: 9.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.1693, allocations: 230.6 kB / 0.6285 GB, free: 9.184 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.17, allocations: 0.5641 MB / 0.629 GB, free: 8.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.17, allocations: 0 / 0.629 GB, free: 8.617 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.17, allocations: 0 / 0.629 GB, free: 8.617 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.17, allocations: 0 / 0.629 GB, free: 8.617 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.003393/0.1734, allocations: 1.137 MB / 0.6301 GB, free: 7.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1735, allocations: 11.98 kB / 0.6301 GB, free: 7.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.1752, allocations: 272.4 kB / 0.6304 GB, free: 7.152 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.1758, allocations: 410.4 kB / 0.6308 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.1759, allocations: 88.08 kB / 0.6309 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.176, allocations: 28 kB / 0.6309 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/0.1768, allocations: 396.7 kB / 0.6313 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1768, allocations: 3.938 kB / 0.6313 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.1769, allocations: 11.98 kB / 0.6313 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.1769, allocations: 8 kB / 0.6313 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/0.1777, allocations: 390 kB / 0.6317 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1798, allocations: 1.084 MB / 0.6327 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006525/0.1863, allocations: 1.381 MB / 0.6341 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.1868, allocations: 268.8 kB / 0.6343 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.1869, allocations: 7.938 kB / 0.6343 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.187, allocations: 42.48 kB / 0.6344 GB, free: 2.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.187, allocations: 4 kB / 0.6344 GB, free: 2.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006424/0.1934, allocations: 1.959 MB / 0.6363 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.1934, allocations: 55.41 kB / 0.6364 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.194, allocations: 413.6 kB / 0.6368 GB, free: 424 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.194, allocations: 29.7 kB / 0.6368 GB, free: 388 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1942, allocations: 208.7 kB / 0.637 GB, free: 176 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1943, allocations: 118.9 kB / 0.6371 GB, free: 56 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.1944, allocations: 61.98 kB / 0.6372 GB, free: 15.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1946, allocations: 354.8 kB / 0.6375 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/0.1951, allocations: 228.5 kB / 0.6377 GB, free: 15.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.1956, allocations: 229.2 kB / 0.6379 GB, free: 15.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000961/0.1966, allocations: 494.9 kB / 0.6384 GB, free: 14.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1966, allocations: 0 / 0.6384 GB, free: 14.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004032/0.2006, allocations: 1.284 MB / 0.6397 GB, free: 13.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2006, allocations: 6.969 kB / 0.6397 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2007, allocations: 0 / 0.6397 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/0.2037, allocations: 0.7673 MB / 0.6404 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.2039, allocations: 35.92 kB / 0.6404 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005953/0.2099, allocations: 3.12 MB / 0.6435 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.2104, allocations: 55.73 kB / 0.6435 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.2104, allocations: 8 kB / 0.6436 GB, free: 9.262 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.0002175/0.2107, allocations: 149.7 kB / 0.6437 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/0.2108, allocations: 39.77 kB / 0.6437 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/0.2146, allocations: 1.214 MB / 0.6449 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2146, allocations: 4 kB / 0.6449 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2146, allocations: 4 kB / 0.6449 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.2146, allocations: 7.922 kB / 0.6449 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/0.2153, allocations: 0.5322 MB / 0.6455 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2153, allocations: 4 kB / 0.6455 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.2156, allocations: 35.98 kB / 0.6455 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/0.2179, allocations: 0.6307 MB / 0.6461 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.2179, allocations: 4 kB / 0.6461 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/0.2223, allocations: 2.561 MB / 0.6486 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2223, allocations: 0 / 0.6486 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004182/0.2265, allocations: 1.586 MB / 0.6502 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.2267, allocations: 124.8 kB / 0.6503 GB, free: 2.098 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.2267, allocations: 11.94 kB / 0.6503 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.2272, allocations: 39.95 kB / 0.6503 GB, free: 2.047 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.2274, allocations: 87.81 kB / 0.6504 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.2275, allocations: 8 kB / 0.6504 GB, free: 1.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000324/0.2278, allocations: 291.2 kB / 0.6507 GB, free: 1.668 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2278, allocations: 0 / 0.6507 GB, free: 1.668 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005319/0.2283, allocations: 139.9 kB / 0.6508 GB, free: 1.531 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.0002003/0.2286, allocations: 111.2 kB / 0.6509 GB, free: 1.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.2313, allocations: 1.084 MB / 0.652 GB, free: 280 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2314, allocations: 3.938 kB / 0.652 GB, free: 276 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.233, allocations: 0.7247 MB / 0.6527 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2334, allocations: 33.56 kB / 0.6527 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.2351, allocations: 0.8617 MB / 0.6536 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.2355, allocations: 0.8072 MB / 0.6544 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.2356, allocations: 34.95 kB / 0.6544 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2357, allocations: 27.44 kB / 0.6544 GB, free: 13.68 MB / 478.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2357, allocations: 0 / 0.6544 GB, free: 13.68 MB / 478.1 MB Notification: Performance of Templates: time 0.01456/0.2503, allocations: 8.419 MB / 0.6627 GB, free: 5.254 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)