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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007279/0.007279, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.325/1.325, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001338/0.001338, allocations: 188.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4344/0.4344, allocations: 78.54 MB / 418.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 83.88 kB / 0.5531 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3512, allocations: 68.17 MB / 0.6197 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.002974/0.3542, allocations: 2.982 MB / 0.6226 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3558, allocations: 0.9501 MB / 0.6235 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.356, allocations: 4 kB / 0.6235 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.3563, allocations: 91.27 kB / 0.6236 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.3566, allocations: 154.9 kB / 0.6238 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009325/0.3576, allocations: 474.9 kB / 0.6242 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.3581, allocations: 0.4982 MB / 0.6247 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.3583, allocations: 97.03 kB / 0.6248 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.3585, allocations: 215 kB / 0.625 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.3588, allocations: 286.8 kB / 0.6253 GB, free: 4.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.3589, allocations: 44 kB / 0.6253 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.3591, allocations: 91.98 kB / 0.6254 GB, free: 4.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.3591, allocations: 103.6 kB / 0.6255 GB, free: 4.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.3593, allocations: 230.6 kB / 0.6257 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.3597, allocations: 0.5628 MB / 0.6263 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3597, allocations: 0 / 0.6263 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3598, allocations: 0 / 0.6263 GB, free: 3.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3598, allocations: 4 kB / 0.6263 GB, free: 3.426 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.002939/0.3627, allocations: 1.122 MB / 0.6274 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3628, allocations: 8.031 kB / 0.6274 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/0.3628, allocations: 62.67 kB / 0.6274 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.3644, allocations: 272 kB / 0.6277 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.3648, allocations: 406.2 kB / 0.6281 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.3649, allocations: 83.89 kB / 0.6282 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.3649, allocations: 32 kB / 0.6282 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.3656, allocations: 400.7 kB / 0.6286 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3656, allocations: 0 / 0.6286 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.3657, allocations: 12 kB / 0.6286 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3657, allocations: 8 kB / 0.6286 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006471/0.3663, allocations: 390 kB / 0.629 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.3682, allocations: 1.092 MB / 0.63 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006881/0.3751, allocations: 1.374 MB / 0.6314 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.3759, allocations: 276.7 kB / 0.6316 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.645e-05/0.3759, allocations: 11.94 kB / 0.6317 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.376, allocations: 35.09 kB / 0.6317 GB, free: 13.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.906e-06/0.376, allocations: 4 kB / 0.6317 GB, free: 13.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006633/0.3826, allocations: 1.951 MB / 0.6336 GB, free: 11.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3827, allocations: 59.34 kB / 0.6337 GB, free: 11.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/0.3832, allocations: 401.6 kB / 0.634 GB, free: 11.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.3833, allocations: 29.7 kB / 0.6341 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.3834, allocations: 208.6 kB / 0.6343 GB, free: 10.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.3836, allocations: 126.2 kB / 0.6344 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.3837, allocations: 58.02 kB / 0.6344 GB, free: 10.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3838, allocations: 346.8 kB / 0.6348 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.3844, allocations: 228.5 kB / 0.635 GB, free: 10.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.3849, allocations: 237.2 kB / 0.6352 GB, free: 9.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.3859, allocations: 498.8 kB / 0.6357 GB, free: 9.465 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3859, allocations: 0 / 0.6357 GB, free: 9.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00418/0.3901, allocations: 1.279 MB / 0.6369 GB, free: 8.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3901, allocations: 10.28 kB / 0.637 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3901, allocations: 0 / 0.637 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00308/0.3932, allocations: 0.7634 MB / 0.6377 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.3935, allocations: 39.91 kB / 0.6377 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.3996, allocations: 3.104 MB / 0.6408 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.4002, allocations: 43.75 kB / 0.6408 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.4002, allocations: 16 kB / 0.6408 GB, free: 4.039 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.000216/0.4004, allocations: 145.8 kB / 0.641 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.4006, allocations: 47.38 kB / 0.641 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.4044, allocations: 1.214 MB / 0.6422 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4044, allocations: 4 kB / 0.6422 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.4044, allocations: 7.938 kB / 0.6422 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4045, allocations: 0 / 0.6422 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.4051, allocations: 0.5284 MB / 0.6427 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4051, allocations: 3.984 kB / 0.6427 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.4054, allocations: 39.92 kB / 0.6428 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/0.4077, allocations: 0.619 MB / 0.6434 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.4078, allocations: 8 kB / 0.6434 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004337/0.4121, allocations: 2.551 MB / 0.6459 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4121, allocations: 4.031 kB / 0.6459 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004473/0.4166, allocations: 1.578 MB / 0.6474 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.4168, allocations: 128.6 kB / 0.6475 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.4169, allocations: 7.938 kB / 0.6475 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.4173, allocations: 31.97 kB / 0.6476 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.4176, allocations: 83.88 kB / 0.6477 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.4176, allocations: 15.98 kB / 0.6477 GB, free: 12.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003165/0.418, allocations: 287.2 kB / 0.6479 GB, free: 12.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.418, allocations: 0 / 0.6479 GB, free: 12.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005003/0.4185, allocations: 143.8 kB / 0.6481 GB, free: 12.34 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.004681/0.4232, allocations: 2.138 MB / 0.6502 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002885/0.4261, allocations: 1.08 MB / 0.6512 GB, free: 9.031 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4261, allocations: 4 kB / 0.6512 GB, free: 9.027 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.4279, allocations: 0.7362 MB / 0.6519 GB, free: 8.234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.4284, allocations: 33.5 kB / 0.652 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.4408, allocations: 5.683 MB / 0.6575 GB, free: 2.414 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.4413, allocations: 0.8072 MB / 0.6583 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.4414, allocations: 26.97 kB / 0.6583 GB, free: 1.559 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.4417, allocations: 135.4 kB / 0.6585 GB, free: 1.426 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4417, allocations: 4 kB / 0.6585 GB, free: 1.422 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/0.4787, allocations: 12.65 MB / 0.6708 GB, free: 4.926 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.29, allocations: 1.641 kB / 0.6708 GB, free: 4.926 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)