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.007231/0.007231, allocations: 103.2 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.317/1.317, allocations: 222.9 MB / 239.4 MB, free: 4.371 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.001244/0.001244, allocations: 184.5 kB / 289.7 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4545/0.4545, allocations: 78.54 MB / 418.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001686, allocations: 83.86 kB / 0.5531 GB, free: 1.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2974, allocations: 68.16 MB / 0.6197 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003023/0.3005, allocations: 2.991 MB / 0.6226 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3019, allocations: 0.9466 MB / 0.6235 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.3021, allocations: 7.688 kB / 0.6235 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.3024, allocations: 90.73 kB / 0.6236 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.3027, allocations: 169.4 kB / 0.6238 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008122/0.3035, allocations: 463 kB / 0.6242 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.3039, allocations: 0.5021 MB / 0.6247 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.304, allocations: 101 kB / 0.6248 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3042, allocations: 219 kB / 0.625 GB, free: 4.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.3045, allocations: 274.8 kB / 0.6253 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.3046, allocations: 44 kB / 0.6253 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.3047, allocations: 95.91 kB / 0.6254 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.3048, allocations: 111.6 kB / 0.6255 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.3049, allocations: 234.7 kB / 0.6258 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.3054, allocations: 0.5589 MB / 0.6263 GB, free: 3.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3054, allocations: 0 / 0.6263 GB, free: 3.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3054, allocations: 0 / 0.6263 GB, free: 3.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3054, allocations: 0 / 0.6263 GB, free: 3.332 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.002935/0.3083, allocations: 1.122 MB / 0.6274 GB, free: 2.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3084, allocations: 12.03 kB / 0.6274 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/0.3084, allocations: 66.72 kB / 0.6275 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.31, allocations: 268 kB / 0.6277 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.3104, allocations: 406.1 kB / 0.6281 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.62e-05/0.3105, allocations: 87.89 kB / 0.6282 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.3106, allocations: 28 kB / 0.6282 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.3112, allocations: 392.7 kB / 0.6286 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3113, allocations: 7.984 kB / 0.6286 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.3113, allocations: 8 kB / 0.6286 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3113, allocations: 8 kB / 0.6286 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.3119, allocations: 390 kB / 0.629 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.3138, allocations: 1.088 MB / 0.6301 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006381/0.3202, allocations: 1.385 MB / 0.6314 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/0.3208, allocations: 268.8 kB / 0.6317 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.351e-05/0.3209, allocations: 7.984 kB / 0.6317 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.321, allocations: 39.09 kB / 0.6317 GB, free: 13.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/0.321, allocations: 4 kB / 0.6317 GB, free: 13.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006348/0.3274, allocations: 1.955 MB / 0.6336 GB, free: 11.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3274, allocations: 59.34 kB / 0.6337 GB, free: 11.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004935/0.3279, allocations: 405.6 kB / 0.6341 GB, free: 11.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.328, allocations: 37.64 kB / 0.6341 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.3281, allocations: 200.6 kB / 0.6343 GB, free: 10.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.3283, allocations: 118.2 kB / 0.6344 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3284, allocations: 62.03 kB / 0.6345 GB, free: 10.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3285, allocations: 350.8 kB / 0.6348 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.329, allocations: 228.5 kB / 0.635 GB, free: 10.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.3295, allocations: 225.2 kB / 0.6352 GB, free: 9.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.3305, allocations: 498.9 kB / 0.6357 GB, free: 9.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3305, allocations: 0 / 0.6357 GB, free: 9.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00398/0.3345, allocations: 1.276 MB / 0.637 GB, free: 8.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.3346, allocations: 13.97 kB / 0.637 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3346, allocations: 3.938 kB / 0.637 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/0.3375, allocations: 0.7634 MB / 0.6377 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.3377, allocations: 35.98 kB / 0.6377 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/0.3437, allocations: 3.111 MB / 0.6408 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.3442, allocations: 55.73 kB / 0.6408 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.3442, allocations: 8 kB / 0.6408 GB, free: 3.941 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.000199/0.3444, allocations: 145.8 kB / 0.641 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.988e-05/0.3445, allocations: 47.31 kB / 0.641 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.3482, allocations: 1.218 MB / 0.6422 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3483, allocations: 4 kB / 0.6422 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3483, allocations: 3.938 kB / 0.6422 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3483, allocations: 7.984 kB / 0.6422 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.3489, allocations: 0.5245 MB / 0.6427 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3489, allocations: 4 kB / 0.6428 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.3493, allocations: 35.98 kB / 0.6428 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/0.3514, allocations: 0.6268 MB / 0.6434 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.3514, allocations: 8 kB / 0.6434 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004318/0.3558, allocations: 2.555 MB / 0.6459 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3558, allocations: 0 / 0.6459 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/0.36, allocations: 1.578 MB / 0.6474 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.3602, allocations: 120.6 kB / 0.6476 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.3603, allocations: 11.94 kB / 0.6476 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.3607, allocations: 35.95 kB / 0.6476 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.361, allocations: 87.88 kB / 0.6477 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.361, allocations: 8 kB / 0.6477 GB, free: 12.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003232/0.3613, allocations: 291.2 kB / 0.648 GB, free: 12.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3614, allocations: 0 / 0.648 GB, free: 12.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000511/0.3619, allocations: 139.8 kB / 0.6481 GB, free: 12.24 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.004489/0.3664, allocations: 2.135 MB / 0.6502 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.369, allocations: 1.084 MB / 0.6512 GB, free: 8.926 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.369, allocations: 0 / 0.6512 GB, free: 8.926 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.3707, allocations: 0.7401 MB / 0.652 GB, free: 8.129 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.3711, allocations: 33.5 kB / 0.652 GB, free: 8.098 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.383, allocations: 5.676 MB / 0.6575 GB, free: 2.316 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.3834, allocations: 0.8111 MB / 0.6583 GB, free: 1.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.3836, allocations: 30.97 kB / 0.6584 GB, free: 1.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.3838, allocations: 135.4 kB / 0.6585 GB, free: 1.32 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3838, allocations: 0 / 0.6585 GB, free: 1.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.4198, allocations: 12.18 MB / 0.6704 GB, free: 5.301 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.26, allocations: 16.22 kB / 0.6704 GB, free: 5.289 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)