Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 109.9 kB / 16.41 MB, free: 6.027 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.465/1.465, allocations: 222.9 MB / 240.1 MB, free: 4.566 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.001429/0.001429, allocations: 192.5 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.4599/0.4599, allocations: 78.53 MB / 419.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 83.88 kB / 0.5543 GB, free: 1.004 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3433, allocations: 68.16 MB / 0.6208 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003126/0.3465, allocations: 2.995 MB / 0.6238 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3477, allocations: 0.9471 MB / 0.6247 GB, free: 6.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.3479, allocations: 4 kB / 0.6247 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3481, allocations: 99.27 kB / 0.6248 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.3484, allocations: 146.9 kB / 0.6249 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.3492, allocations: 465 kB / 0.6254 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.3495, allocations: 0.4982 MB / 0.6259 GB, free: 5.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.3497, allocations: 97.05 kB / 0.6259 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3499, allocations: 211.1 kB / 0.6261 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.3501, allocations: 286.7 kB / 0.6264 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.3502, allocations: 44 kB / 0.6265 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.3504, allocations: 95.97 kB / 0.6266 GB, free: 4.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.3504, allocations: 111.6 kB / 0.6267 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3505, allocations: 230.6 kB / 0.6269 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.3509, allocations: 0.5623 MB / 0.6274 GB, free: 3.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3509, allocations: 4 kB / 0.6274 GB, free: 3.484 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.351, allocations: 0 / 0.6274 GB, free: 3.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.351, allocations: 0 / 0.6274 GB, free: 3.484 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002908/0.3539, allocations: 1.114 MB / 0.6285 GB, free: 2.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.3539, allocations: 11.97 kB / 0.6285 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.3555, allocations: 268.1 kB / 0.6288 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.3558, allocations: 406.1 kB / 0.6292 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-05/0.3559, allocations: 92.08 kB / 0.6293 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.356, allocations: 24 kB / 0.6293 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.3567, allocations: 404.7 kB / 0.6297 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3567, allocations: 0 / 0.6297 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.3567, allocations: 12 kB / 0.6297 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3567, allocations: 4 kB / 0.6297 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.3574, allocations: 394 kB / 0.6301 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.3591, allocations: 1.084 MB / 0.6311 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006704/0.3658, allocations: 1.373 MB / 0.6325 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.3664, allocations: 276.8 kB / 0.6327 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.3665, allocations: 7.984 kB / 0.6327 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3665, allocations: 39.09 kB / 0.6328 GB, free: 13.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.294e-06/0.3665, allocations: 0 / 0.6328 GB, free: 13.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.00641/0.3729, allocations: 1.951 MB / 0.6347 GB, free: 11.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.373, allocations: 59.39 kB / 0.6347 GB, free: 11.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.3735, allocations: 405.6 kB / 0.6351 GB, free: 11.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.3736, allocations: 37.7 kB / 0.6352 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.3738, allocations: 204.6 kB / 0.6354 GB, free: 11.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3739, allocations: 122.2 kB / 0.6355 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.374, allocations: 58.02 kB / 0.6355 GB, free: 10.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3742, allocations: 346.8 kB / 0.6359 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.3747, allocations: 232.5 kB / 0.6361 GB, free: 10.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.3752, allocations: 237.1 kB / 0.6363 GB, free: 10.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009731/0.3761, allocations: 498.8 kB / 0.6368 GB, free: 9.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3762, allocations: 0 / 0.6368 GB, free: 9.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004081/0.3802, allocations: 1.276 MB / 0.638 GB, free: 8.305 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3803, allocations: 4 kB / 0.638 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3803, allocations: 0 / 0.638 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003037/0.3833, allocations: 0.774 MB / 0.6388 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.3836, allocations: 43.86 kB / 0.6388 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005967/0.3896, allocations: 3.1 MB / 0.6419 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.3901, allocations: 51.73 kB / 0.6419 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.3902, allocations: 8 kB / 0.6419 GB, free: 4.176 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 (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.0002275/0.3904, allocations: 145.8 kB / 0.642 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.73e-05/0.3905, allocations: 43.47 kB / 0.6421 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.3943, allocations: 1.218 MB / 0.6433 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.3943, allocations: 0 / 0.6433 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.3944, allocations: 4 kB / 0.6433 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3944, allocations: 7.922 kB / 0.6433 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.395, allocations: 0.5284 MB / 0.6438 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3951, allocations: 7.922 kB / 0.6438 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.3953, allocations: 35.98 kB / 0.6438 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/0.3977, allocations: 0.6229 MB / 0.6445 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.3977, allocations: 8 kB / 0.6445 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00438/0.4021, allocations: 2.551 MB / 0.647 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4021, allocations: 0 / 0.647 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/0.4067, allocations: 1.578 MB / 0.6485 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.407, allocations: 128.5 kB / 0.6486 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.4071, allocations: 15.92 kB / 0.6486 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004982/0.4077, allocations: 31.97 kB / 0.6487 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.4079, allocations: 87.88 kB / 0.6487 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.4079, allocations: 8 kB / 0.6488 GB, free: 12.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003421/0.4083, allocations: 291.2 kB / 0.649 GB, free: 12.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4083, allocations: 0 / 0.649 GB, free: 12.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005609/0.4089, allocations: 139.8 kB / 0.6492 GB, free: 12.47 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.0002152/0.4091, allocations: 115.2 kB / 0.6493 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.412, allocations: 1.076 MB / 0.6503 GB, free: 11.22 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.412, allocations: 0 / 0.6503 GB, free: 11.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/0.4138, allocations: 0.7406 MB / 0.6511 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.4143, allocations: 33.5 kB / 0.6511 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.4161, allocations: 0.8688 MB / 0.6519 GB, free: 9.488 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4165, allocations: 0.8111 MB / 0.6527 GB, free: 8.648 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.4166, allocations: 31.38 kB / 0.6528 GB, free: 8.617 MB / 462.1 MB Notification: Performance of SimCode: time 1.001e-06/0.4166, allocations: 3.938 kB / 0.6528 GB, free: 8.613 MB / 462.1 MB Notification: Performance of Templates: time 0.01288/0.4295, allocations: 10.52 MB / 0.663 GB, free: 14.08 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)