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.005138/0.005138, allocations: 102 kB / 15.73 MB, free: 6.043 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.446/1.446, allocations: 222.9 MB / 239.4 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.001884/0.001884, allocations: 184.5 kB / 289.7 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.4474/0.4474, allocations: 78.51 MB / 418.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 75.88 kB / 0.5536 GB, free: 1.008 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3645, allocations: 68.17 MB / 0.6202 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003348/0.3679, allocations: 2.991 MB / 0.6231 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3694, allocations: 0.9471 MB / 0.624 GB, free: 6.281 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.3696, allocations: 4 kB / 0.624 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.3699, allocations: 99.27 kB / 0.6241 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.3702, allocations: 162.9 kB / 0.6243 GB, free: 6.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008704/0.3711, allocations: 464.5 kB / 0.6247 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.3715, allocations: 0.5021 MB / 0.6252 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.3717, allocations: 97.03 kB / 0.6253 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.3719, allocations: 219 kB / 0.6255 GB, free: 4.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.3722, allocations: 278.8 kB / 0.6258 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.3722, allocations: 40 kB / 0.6258 GB, free: 4.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.3724, allocations: 99.97 kB / 0.6259 GB, free: 4.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.3724, allocations: 107.5 kB / 0.626 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.3726, allocations: 230.7 kB / 0.6262 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.373, allocations: 0.5622 MB / 0.6268 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.373, allocations: 4 kB / 0.6268 GB, free: 3.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.373, allocations: 0 / 0.6268 GB, free: 3.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.373, allocations: 0 / 0.6268 GB, free: 3.445 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.003026/0.3761, allocations: 1.114 MB / 0.6279 GB, free: 2.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3761, allocations: 12.03 kB / 0.6279 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.3777, allocations: 268.1 kB / 0.6281 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.3782, allocations: 410 kB / 0.6285 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.942e-05/0.3783, allocations: 92.08 kB / 0.6286 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.3783, allocations: 28 kB / 0.6286 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/0.379, allocations: 396.7 kB / 0.629 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3791, allocations: 0 / 0.629 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.3791, allocations: 12 kB / 0.629 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3791, allocations: 8 kB / 0.629 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.3798, allocations: 386 kB / 0.6294 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.3817, allocations: 1.088 MB / 0.6305 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007094/0.3888, allocations: 1.376 MB / 0.6318 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00064/0.3895, allocations: 280.7 kB / 0.6321 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.3895, allocations: 7.984 kB / 0.6321 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3896, allocations: 35.16 kB / 0.6321 GB, free: 13.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/0.3896, allocations: 0 / 0.6321 GB, free: 13.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006899/0.3965, allocations: 1.959 MB / 0.634 GB, free: 11.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3966, allocations: 55.41 kB / 0.6341 GB, free: 11.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.3971, allocations: 401.6 kB / 0.6345 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.3972, allocations: 45.64 kB / 0.6345 GB, free: 11.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.3974, allocations: 200.6 kB / 0.6347 GB, free: 11.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.3975, allocations: 118.2 kB / 0.6348 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.3976, allocations: 65.95 kB / 0.6349 GB, free: 10.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3978, allocations: 346.8 kB / 0.6352 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/0.3983, allocations: 232.5 kB / 0.6354 GB, free: 10.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.3989, allocations: 229.2 kB / 0.6356 GB, free: 10.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.3999, allocations: 494.9 kB / 0.6361 GB, free: 9.562 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3999, allocations: 0 / 0.6361 GB, free: 9.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004381/0.4043, allocations: 1.276 MB / 0.6374 GB, free: 8.266 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.4043, allocations: 8 kB / 0.6374 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4044, allocations: 0 / 0.6374 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.4075, allocations: 0.7702 MB / 0.6381 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.4078, allocations: 43.92 kB / 0.6382 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006319/0.4141, allocations: 3.101 MB / 0.6412 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.4147, allocations: 47.75 kB / 0.6412 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.4147, allocations: 12 kB / 0.6413 GB, free: 4.137 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.0002371/0.4149, allocations: 149.8 kB / 0.6414 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.415, allocations: 35.53 kB / 0.6414 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/0.4189, allocations: 1.218 MB / 0.6426 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.419, allocations: 7.984 kB / 0.6426 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.419, allocations: 3.938 kB / 0.6426 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.419, allocations: 3.938 kB / 0.6426 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.4196, allocations: 0.5323 MB / 0.6432 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/0.4197, allocations: 4 kB / 0.6432 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.4199, allocations: 39.92 kB / 0.6432 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/0.4223, allocations: 0.619 MB / 0.6438 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.4223, allocations: 8 kB / 0.6438 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004468/0.4268, allocations: 2.555 MB / 0.6463 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4268, allocations: 0 / 0.6463 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/0.4314, allocations: 1.582 MB / 0.6478 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.4315, allocations: 132.5 kB / 0.648 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.4316, allocations: 7.938 kB / 0.648 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.4321, allocations: 31.97 kB / 0.648 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.4323, allocations: 87.88 kB / 0.6481 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.4324, allocations: 12 kB / 0.6481 GB, free: 12.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003101/0.4327, allocations: 291.2 kB / 0.6484 GB, free: 12.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4327, allocations: 0 / 0.6484 GB, free: 12.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005034/0.4332, allocations: 139.8 kB / 0.6485 GB, free: 12.43 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.0001822/0.4334, allocations: 111.2 kB / 0.6486 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002857/0.4362, allocations: 1.076 MB / 0.6497 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4363, allocations: 0 / 0.6497 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.4381, allocations: 0.7325 MB / 0.6504 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.4385, allocations: 31.91 kB / 0.6504 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4402, allocations: 0.8589 MB / 0.6513 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.4407, allocations: 0.8072 MB / 0.652 GB, free: 8.637 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.4408, allocations: 30.97 kB / 0.6521 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.4409, allocations: 31.38 kB / 0.6521 GB, free: 8.574 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.441, allocations: 0 / 0.6521 GB, free: 8.574 MB / 462.1 MB Notification: Performance of Templates: time 0.01379/0.4547, allocations: 8.406 MB / 0.6603 GB, free: 172 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)