Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_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.004871/0.004871, allocations: 101.4 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.304/1.304, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001282/0.001282, allocations: 184.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4696/0.4696, allocations: 78.53 MB / 418.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 83.86 kB / 0.5531 GB, free: 1.469 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3119, allocations: 68.16 MB / 0.6197 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003175/0.3151, allocations: 3.062 MB / 0.6227 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.3166, allocations: 0.9703 MB / 0.6236 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.3168, allocations: 4 kB / 0.6236 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3171, allocations: 95.25 kB / 0.6237 GB, free: 6.016 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.3174, allocations: 154.8 kB / 0.6239 GB, free: 5.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008303/0.3182, allocations: 468.8 kB / 0.6243 GB, free: 5.406 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.3186, allocations: 0.541 MB / 0.6248 GB, free: 4.863 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.3188, allocations: 89.06 kB / 0.6249 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.319, allocations: 227 kB / 0.6251 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.3193, allocations: 298.7 kB / 0.6254 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.3194, allocations: 48 kB / 0.6255 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3195, allocations: 104 kB / 0.6256 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.3196, allocations: 115.5 kB / 0.6257 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.3197, allocations: 242.6 kB / 0.6259 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.3202, allocations: 0.59 MB / 0.6265 GB, free: 3.168 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3202, allocations: 0 / 0.6265 GB, free: 3.168 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3202, allocations: 0 / 0.6265 GB, free: 3.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.3202, allocations: 0 / 0.6265 GB, free: 3.168 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.003086/0.3233, allocations: 1.15 MB / 0.6276 GB, free: 1.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3234, allocations: 8.031 kB / 0.6276 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.452e-05/0.3234, allocations: 58.73 kB / 0.6277 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.325, allocations: 276 kB / 0.6279 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.3255, allocations: 422 kB / 0.6283 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.3256, allocations: 91.89 kB / 0.6284 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.3257, allocations: 31.91 kB / 0.6285 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/0.3264, allocations: 404.7 kB / 0.6288 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3264, allocations: 0 / 0.6288 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.3264, allocations: 12 kB / 0.6289 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3264, allocations: 7.984 kB / 0.6289 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006774/0.3271, allocations: 394 kB / 0.6292 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.3291, allocations: 1.115 MB / 0.6303 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006892/0.336, allocations: 1.376 MB / 0.6317 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/0.3366, allocations: 280.7 kB / 0.6319 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.3367, allocations: 4 kB / 0.6319 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3367, allocations: 43.09 kB / 0.632 GB, free: 13.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.235e-06/0.3367, allocations: 0 / 0.632 GB, free: 13.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006604/0.3434, allocations: 1.978 MB / 0.6339 GB, free: 11.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.3434, allocations: 59.34 kB / 0.634 GB, free: 11.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.344, allocations: 425.6 kB / 0.6344 GB, free: 10.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.344, allocations: 33.7 kB / 0.6344 GB, free: 10.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3442, allocations: 212.5 kB / 0.6346 GB, free: 10.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3443, allocations: 126.2 kB / 0.6347 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.3444, allocations: 53.7 kB / 0.6348 GB, free: 10.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3446, allocations: 362.8 kB / 0.6351 GB, free: 10 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.3451, allocations: 239.8 kB / 0.6354 GB, free: 9.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.3456, allocations: 243.9 kB / 0.6356 GB, free: 9.527 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.3467, allocations: 0.497 MB / 0.6361 GB, free: 9.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3467, allocations: 8 kB / 0.6361 GB, free: 9.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004465/0.3511, allocations: 1.369 MB / 0.6374 GB, free: 7.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.3512, allocations: 11.92 kB / 0.6374 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3512, allocations: 0 / 0.6374 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/0.3547, allocations: 0.8783 MB / 0.6383 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.355, allocations: 43.92 kB / 0.6383 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006683/0.3617, allocations: 3.383 MB / 0.6416 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.3622, allocations: 43.8 kB / 0.6417 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.3623, allocations: 15.94 kB / 0.6417 GB, free: 3.113 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 {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.3625, allocations: 153.8 kB / 0.6418 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-05/0.3626, allocations: 43.44 kB / 0.6419 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/0.3665, allocations: 1.241 MB / 0.6431 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3665, allocations: 4 kB / 0.6431 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3665, allocations: 0 / 0.6431 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3665, allocations: 8 kB / 0.6431 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006691/0.3672, allocations: 0.5516 MB / 0.6436 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3672, allocations: 0 / 0.6436 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.3675, allocations: 39.98 kB / 0.6437 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/0.3698, allocations: 0.6268 MB / 0.6443 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.3699, allocations: 4 kB / 0.6443 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/0.3742, allocations: 2.555 MB / 0.6468 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3743, allocations: 3.984 kB / 0.6468 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004594/0.3789, allocations: 1.61 MB / 0.6484 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.379, allocations: 124.6 kB / 0.6485 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.3791, allocations: 4 kB / 0.6485 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.3796, allocations: 35.95 kB / 0.6485 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.3798, allocations: 83.88 kB / 0.6486 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.3799, allocations: 12 kB / 0.6486 GB, free: 11.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003244/0.3802, allocations: 307.1 kB / 0.6489 GB, free: 11.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3802, allocations: 4 kB / 0.6489 GB, free: 11.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005055/0.3807, allocations: 151.8 kB / 0.6491 GB, free: 11.29 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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.004772/0.3855, allocations: 2.163 MB / 0.6512 GB, free: 9.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00308/0.3886, allocations: 1.138 MB / 0.6523 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3886, allocations: 0 / 0.6523 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.3905, allocations: 0.7403 MB / 0.653 GB, free: 7.098 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.3909, allocations: 29.56 kB / 0.653 GB, free: 7.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.4042, allocations: 6.084 MB / 0.659 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.4046, allocations: 0.8233 MB / 0.6598 GB, free: 36 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.4048, allocations: 26.97 kB / 0.6598 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.405, allocations: 143.5 kB / 0.6599 GB, free: 15.87 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.405, allocations: 8 kB / 0.66 GB, free: 15.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05248/0.4575, allocations: 13.42 MB / 0.6731 GB, free: 2.586 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.35, allocations: 27.56 kB / 0.6731 GB, free: 2.562 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)