Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.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/Modelica 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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 107.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 240.1 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 187.8 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4586/0.4586, allocations: 78.54 MB / 419.1 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 83.86 kB / 0.5543 GB, free: 1.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.305, allocations: 68.16 MB / 0.6208 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002827/0.3078, allocations: 2.797 MB / 0.6236 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.309, allocations: 0.8959 MB / 0.6244 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3091, allocations: 4 kB / 0.6244 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.3094, allocations: 87.39 kB / 0.6245 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.3096, allocations: 146.9 kB / 0.6247 GB, free: 6.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.3103, allocations: 451.8 kB / 0.6251 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.3106, allocations: 426.2 kB / 0.6255 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3107, allocations: 69.03 kB / 0.6256 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.3108, allocations: 171.2 kB / 0.6257 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.311, allocations: 227 kB / 0.626 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.3111, allocations: 36 kB / 0.626 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3112, allocations: 83.98 kB / 0.6261 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.3113, allocations: 87.61 kB / 0.6262 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.813e-05/0.3114, allocations: 186.9 kB / 0.6263 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.3117, allocations: 0.4954 MB / 0.6268 GB, free: 4.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3117, allocations: 4 kB / 0.6268 GB, free: 4.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3117, allocations: 0 / 0.6268 GB, free: 4.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3117, allocations: 0 / 0.6268 GB, free: 4.129 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002596/0.3143, allocations: 1.032 MB / 0.6278 GB, free: 3.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.3144, allocations: 8.031 kB / 0.6278 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.3159, allocations: 264.4 kB / 0.6281 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.3163, allocations: 356.1 kB / 0.6284 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/0.3163, allocations: 88.08 kB / 0.6285 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.3164, allocations: 20 kB / 0.6285 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.317, allocations: 372.7 kB / 0.6289 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.317, allocations: 4 kB / 0.6289 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.3171, allocations: 4 kB / 0.6289 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3171, allocations: 8 kB / 0.6289 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.3177, allocations: 362.1 kB / 0.6292 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.3192, allocations: 1.018 MB / 0.6302 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006994/0.3262, allocations: 1.317 MB / 0.6315 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/0.3268, allocations: 240.6 kB / 0.6318 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.3268, allocations: 4 kB / 0.6318 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3268, allocations: 42.5 kB / 0.6318 GB, free: 14.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.3268, allocations: 0 / 0.6318 GB, free: 14.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.007205/0.334, allocations: 1.98 MB / 0.6337 GB, free: 12.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3341, allocations: 55.39 kB / 0.6338 GB, free: 12.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.3345, allocations: 316.6 kB / 0.6341 GB, free: 12.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/0.3346, allocations: 33.7 kB / 0.6341 GB, free: 12.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3347, allocations: 184.8 kB / 0.6343 GB, free: 12.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.3348, allocations: 115 kB / 0.6344 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.335, allocations: 49.98 kB / 0.6345 GB, free: 12.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3351, allocations: 350.7 kB / 0.6348 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.3357, allocations: 220.4 kB / 0.635 GB, free: 11.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.3362, allocations: 217 kB / 0.6352 GB, free: 11.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.3372, allocations: 470.9 kB / 0.6357 GB, free: 10.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3372, allocations: 0 / 0.6357 GB, free: 10.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004446/0.3417, allocations: 1.256 MB / 0.6369 GB, free: 9.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3417, allocations: 4 kB / 0.6369 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3417, allocations: 0 / 0.6369 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003253/0.345, allocations: 0.7594 MB / 0.6376 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.3452, allocations: 31.92 kB / 0.6377 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.3514, allocations: 3.138 MB / 0.6407 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.3519, allocations: 51.84 kB / 0.6408 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3519, allocations: 8 kB / 0.6408 GB, free: 5.352 MB / 446.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 (21): * Single equations (assignments): 18 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.3521, allocations: 145.7 kB / 0.6409 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.3522, allocations: 43.75 kB / 0.641 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.3563, allocations: 1.202 MB / 0.6421 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3563, allocations: 8 kB / 0.6421 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3563, allocations: 0 / 0.6421 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3563, allocations: 3.984 kB / 0.6421 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/0.357, allocations: 0.5205 MB / 0.6427 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.357, allocations: 0 / 0.6427 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.3572, allocations: 35.86 kB / 0.6427 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/0.3599, allocations: 0.6737 MB / 0.6433 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.3599, allocations: 4 kB / 0.6433 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00488/0.3648, allocations: 2.685 MB / 0.646 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3648, allocations: 0 / 0.646 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004675/0.3695, allocations: 1.583 MB / 0.6475 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.3696, allocations: 124.8 kB / 0.6476 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.3697, allocations: 4 kB / 0.6476 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.3701, allocations: 31.97 kB / 0.6477 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/0.3703, allocations: 83.88 kB / 0.6477 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.3704, allocations: 11.88 kB / 0.6478 GB, free: 13.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.3706, allocations: 235 kB / 0.648 GB, free: 13.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3706, allocations: 64 / 0.648 GB, free: 13.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005203/0.3711, allocations: 140 kB / 0.6481 GB, free: 13.56 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * 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.0001717/0.3713, allocations: 109.7 kB / 0.6482 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002551/0.3739, allocations: 0.9628 MB / 0.6492 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3739, allocations: 0 / 0.6492 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.3756, allocations: 0.6857 MB / 0.6498 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.376, allocations: 33.38 kB / 0.6499 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/0.3823, allocations: 1.099 MB / 0.6509 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.3827, allocations: 0.7873 MB / 0.6517 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.3828, allocations: 26.28 kB / 0.6517 GB, free: 9.691 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.3829, allocations: 19.44 kB / 0.6517 GB, free: 9.672 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3829, allocations: 4 kB / 0.6518 GB, free: 9.668 MB / 462.1 MB Notification: Performance of Templates: time 0.0141/0.397, allocations: 8.199 MB / 0.6598 GB, free: 1.469 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)