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.006527/0.006527, allocations: 101.6 kB / 15.73 MB, free: 6.449 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.319/1.319, allocations: 222.9 MB / 239.4 MB, free: 4.496 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.001328/0.001328, allocations: 184.5 kB / 289.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4389/0.4389, allocations: 78.53 MB / 418.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 75.88 kB / 0.5531 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3232, allocations: 68.17 MB / 0.6197 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003237/0.3265, allocations: 2.988 MB / 0.6226 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3281, allocations: 0.942 MB / 0.6235 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.3282, allocations: 2.688 kB / 0.6235 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.3286, allocations: 96.45 kB / 0.6236 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.3289, allocations: 166.3 kB / 0.6238 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009503/0.3299, allocations: 471.5 kB / 0.6242 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.3302, allocations: 0.502 MB / 0.6247 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.3304, allocations: 101 kB / 0.6248 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.3306, allocations: 215 kB / 0.625 GB, free: 4.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.3309, allocations: 278.8 kB / 0.6253 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.331, allocations: 44 kB / 0.6253 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.3311, allocations: 95.97 kB / 0.6254 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.3312, allocations: 115.5 kB / 0.6255 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.3314, allocations: 226.7 kB / 0.6258 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.3319, allocations: 0.5649 MB / 0.6263 GB, free: 3.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.3319, allocations: 4 kB / 0.6263 GB, free: 3.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3319, allocations: 3.984 kB / 0.6263 GB, free: 3.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3319, allocations: 0 / 0.6263 GB, free: 3.348 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.003046/0.335, allocations: 1.126 MB / 0.6274 GB, free: 2.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.335, allocations: 12.02 kB / 0.6274 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.3e-05/0.3351, allocations: 66.73 kB / 0.6275 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.3367, allocations: 272.4 kB / 0.6277 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.3372, allocations: 406.4 kB / 0.6281 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.3373, allocations: 87.89 kB / 0.6282 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.3374, allocations: 24 kB / 0.6282 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.3381, allocations: 400.7 kB / 0.6286 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3381, allocations: 0 / 0.6286 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.3381, allocations: 12 kB / 0.6286 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3382, allocations: 4 kB / 0.6286 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.3388, allocations: 390 kB / 0.629 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.3407, allocations: 1.092 MB / 0.6301 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006622/0.3473, allocations: 1.385 MB / 0.6314 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.3479, allocations: 272.7 kB / 0.6317 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.953e-05/0.3479, allocations: 7.984 kB / 0.6317 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.348, allocations: 43.09 kB / 0.6317 GB, free: 13.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.472e-06/0.348, allocations: 0 / 0.6317 GB, free: 13.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006233/0.3542, allocations: 1.955 MB / 0.6336 GB, free: 11.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3543, allocations: 55.34 kB / 0.6337 GB, free: 11.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.3547, allocations: 405.7 kB / 0.6341 GB, free: 11.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.3548, allocations: 33.64 kB / 0.6341 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3549, allocations: 204.8 kB / 0.6343 GB, free: 10.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.355, allocations: 134.8 kB / 0.6344 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.3552, allocations: 62.02 kB / 0.6345 GB, free: 10.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3553, allocations: 350.8 kB / 0.6348 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.3558, allocations: 228.5 kB / 0.6351 GB, free: 10.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/0.3563, allocations: 225.2 kB / 0.6353 GB, free: 9.852 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009783/0.3573, allocations: 498.9 kB / 0.6357 GB, free: 9.363 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3573, allocations: 0 / 0.6357 GB, free: 9.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004004/0.3613, allocations: 1.28 MB / 0.637 GB, free: 8.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3614, allocations: 11.92 kB / 0.637 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.3614, allocations: 0 / 0.637 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/0.3643, allocations: 0.7741 MB / 0.6378 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.3646, allocations: 31.98 kB / 0.6378 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.3703, allocations: 3.108 MB / 0.6408 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.3708, allocations: 55.8 kB / 0.6409 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.3709, allocations: 8 kB / 0.6409 GB, free: 3.93 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.0001963/0.3711, allocations: 145.8 kB / 0.641 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.3712, allocations: 47.66 kB / 0.6411 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003713/0.3749, allocations: 1.214 MB / 0.6423 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3749, allocations: 4 kB / 0.6423 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3749, allocations: 3.938 kB / 0.6423 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3749, allocations: 3.984 kB / 0.6423 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.3755, allocations: 0.5284 MB / 0.6428 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3755, allocations: 0 / 0.6428 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.3758, allocations: 47.92 kB / 0.6428 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002219/0.378, allocations: 0.6231 MB / 0.6434 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.3781, allocations: 8 kB / 0.6434 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004142/0.3822, allocations: 2.544 MB / 0.6459 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3822, allocations: 0 / 0.6459 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004219/0.3865, allocations: 1.594 MB / 0.6475 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3866, allocations: 120.8 kB / 0.6476 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.3867, allocations: 23.92 kB / 0.6476 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.3871, allocations: 31.97 kB / 0.6477 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.3873, allocations: 87.88 kB / 0.6477 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3874, allocations: 4 kB / 0.6477 GB, free: 12.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003026/0.3877, allocations: 291.2 kB / 0.648 GB, free: 12.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3877, allocations: 0 / 0.648 GB, free: 12.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.3882, allocations: 143.9 kB / 0.6482 GB, free: 12.21 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.004551/0.3927, allocations: 2.138 MB / 0.6502 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002736/0.3955, allocations: 1.084 MB / 0.6513 GB, free: 8.902 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3955, allocations: 0 / 0.6513 GB, free: 8.902 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.3972, allocations: 0.7285 MB / 0.652 GB, free: 8.117 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3976, allocations: 43.62 kB / 0.6521 GB, free: 8.078 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.4095, allocations: 5.686 MB / 0.6576 GB, free: 2.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.4099, allocations: 0.8072 MB / 0.6584 GB, free: 1.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.4101, allocations: 30.97 kB / 0.6584 GB, free: 1.426 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.4103, allocations: 139.4 kB / 0.6586 GB, free: 1.289 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4103, allocations: 0 / 0.6586 GB, free: 1.289 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.4426, allocations: 12.19 MB / 0.6705 GB, free: 5.254 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.14, allocations: 3.828 kB / 0.6705 GB, free: 5.254 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)