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.007256/0.007256, allocations: 101.7 kB / 15.73 MB, free: 6.051 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.405/1.405, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.002099/0.002099, allocations: 192.4 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5061/0.5061, allocations: 78.52 MB / 418.4 MB, free: 3.094 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 79.88 kB / 0.5536 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3424, allocations: 68.17 MB / 0.6202 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003498/0.346, allocations: 2.994 MB / 0.6231 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3476, allocations: 0.9432 MB / 0.624 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.3479, allocations: 4 kB / 0.624 GB, free: 6.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.3482, allocations: 95.27 kB / 0.6241 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.3485, allocations: 146.9 kB / 0.6242 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008346/0.3494, allocations: 471.7 kB / 0.6247 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.3497, allocations: 0.5021 MB / 0.6252 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.3499, allocations: 97.03 kB / 0.6253 GB, free: 5.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.3501, allocations: 219 kB / 0.6255 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.3504, allocations: 278.8 kB / 0.6257 GB, free: 4.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.3505, allocations: 44 kB / 0.6258 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.3506, allocations: 99.95 kB / 0.6259 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.3507, allocations: 107.6 kB / 0.626 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.3508, allocations: 230.6 kB / 0.6262 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.3513, allocations: 0.5546 MB / 0.6268 GB, free: 3.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3513, allocations: 0 / 0.6268 GB, free: 3.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3513, allocations: 0 / 0.6268 GB, free: 3.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3513, allocations: 4 kB / 0.6268 GB, free: 3.621 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.002779/0.3541, allocations: 1.114 MB / 0.6278 GB, free: 2.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3541, allocations: 12.03 kB / 0.6279 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.3556, allocations: 268.1 kB / 0.6281 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.356, allocations: 410 kB / 0.6285 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-05/0.3561, allocations: 92.08 kB / 0.6286 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.3562, allocations: 32 kB / 0.6286 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.3569, allocations: 396.7 kB / 0.629 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3569, allocations: 0 / 0.629 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.3569, allocations: 8 kB / 0.629 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3569, allocations: 12 kB / 0.629 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006425/0.3576, allocations: 386 kB / 0.6294 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.3594, allocations: 1.092 MB / 0.6305 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006171/0.3656, allocations: 1.376 MB / 0.6318 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.3661, allocations: 280.7 kB / 0.6321 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.582e-05/0.3662, allocations: 8 kB / 0.6321 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3662, allocations: 35.09 kB / 0.6321 GB, free: 13.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 3.096e-06/0.3663, allocations: 0 / 0.6321 GB, free: 13.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.005989/0.3722, allocations: 1.963 MB / 0.634 GB, free: 11.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3723, allocations: 55.41 kB / 0.6341 GB, free: 11.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.3728, allocations: 401.6 kB / 0.6345 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3728, allocations: 33.7 kB / 0.6345 GB, free: 11.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.373, allocations: 208.6 kB / 0.6347 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.3731, allocations: 118.2 kB / 0.6348 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3733, allocations: 66.02 kB / 0.6349 GB, free: 11.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3734, allocations: 346.8 kB / 0.6352 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.3739, allocations: 228.5 kB / 0.6354 GB, free: 10.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.3744, allocations: 229.2 kB / 0.6356 GB, free: 10.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3754, allocations: 498.9 kB / 0.6361 GB, free: 9.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3754, allocations: 0 / 0.6361 GB, free: 9.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00375/0.3791, allocations: 1.279 MB / 0.6374 GB, free: 8.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3792, allocations: 8 kB / 0.6374 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3792, allocations: 0 / 0.6374 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/0.382, allocations: 0.7634 MB / 0.6381 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.3822, allocations: 43.91 kB / 0.6382 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005741/0.388, allocations: 3.109 MB / 0.6412 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.3884, allocations: 43.75 kB / 0.6412 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.3885, allocations: 12 kB / 0.6412 GB, free: 4.301 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.0002091/0.3887, allocations: 145.8 kB / 0.6414 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.702e-05/0.3888, allocations: 39.53 kB / 0.6414 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.3923, allocations: 1.225 MB / 0.6426 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3924, allocations: 4 kB / 0.6426 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3924, allocations: 0 / 0.6426 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3924, allocations: 7.938 kB / 0.6426 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.393, allocations: 0.5284 MB / 0.6431 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3931, allocations: 0 / 0.6431 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.3933, allocations: 31.98 kB / 0.6432 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002073/0.3954, allocations: 0.6268 MB / 0.6438 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.3954, allocations: 8 kB / 0.6438 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004005/0.3995, allocations: 2.548 MB / 0.6463 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3995, allocations: 12.02 kB / 0.6463 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004057/0.4036, allocations: 1.578 MB / 0.6478 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.4037, allocations: 128.6 kB / 0.648 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.4037, allocations: 7.938 kB / 0.648 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.4042, allocations: 31.97 kB / 0.648 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.4044, allocations: 83.88 kB / 0.6481 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.4044, allocations: 15.98 kB / 0.6481 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003091/0.4048, allocations: 287.2 kB / 0.6484 GB, free: 12.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4048, allocations: 0 / 0.6484 GB, free: 12.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005031/0.4053, allocations: 143.8 kB / 0.6485 GB, free: 12.6 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.0001547/0.4054, allocations: 115.2 kB / 0.6486 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.408, allocations: 1.088 MB / 0.6497 GB, free: 11.33 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.408, allocations: 0 / 0.6497 GB, free: 11.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.4096, allocations: 0.7208 MB / 0.6504 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.41, allocations: 37.56 kB / 0.6504 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.4115, allocations: 0.8473 MB / 0.6512 GB, free: 9.645 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4119, allocations: 0.8072 MB / 0.652 GB, free: 8.809 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.412, allocations: 34.91 kB / 0.6521 GB, free: 8.773 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.4121, allocations: 27.44 kB / 0.6521 GB, free: 8.746 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4121, allocations: 0 / 0.6521 GB, free: 8.746 MB / 462.1 MB Notification: Performance of Templates: time 0.01401/0.4261, allocations: 8.408 MB / 0.6603 GB, free: 348 kB / 462.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)