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.005068/0.005068, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.378/1.378, 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.001478/0.001478, allocations: 192.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4581/0.4581, allocations: 78.54 MB / 418.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003376/0.003376, allocations: 80.06 kB / 0.5531 GB, free: 1.488 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3069, allocations: 68.17 MB / 0.6197 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.002907/0.3098, allocations: 2.983 MB / 0.6226 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3111, allocations: 0.9487 MB / 0.6235 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.3112, allocations: 0 / 0.6235 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.3115, allocations: 95.27 kB / 0.6236 GB, free: 6.254 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.3118, allocations: 146.9 kB / 0.6238 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.3126, allocations: 475.7 kB / 0.6242 GB, free: 5.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.3129, allocations: 0.5021 MB / 0.6247 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.313, allocations: 93.03 kB / 0.6248 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.3132, allocations: 215 kB / 0.625 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.3135, allocations: 274.8 kB / 0.6253 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.3135, allocations: 44 kB / 0.6253 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3137, allocations: 111.9 kB / 0.6254 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.3138, allocations: 103.6 kB / 0.6255 GB, free: 4.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3139, allocations: 226.7 kB / 0.6257 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.3143, allocations: 0.5688 MB / 0.6263 GB, free: 3.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3143, allocations: 0 / 0.6263 GB, free: 3.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3143, allocations: 0 / 0.6263 GB, free: 3.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3143, allocations: 0 / 0.6263 GB, free: 3.531 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.002859/0.3172, allocations: 1.137 MB / 0.6274 GB, free: 2.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3172, allocations: 8.031 kB / 0.6274 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.16e-05/0.3173, allocations: 62.72 kB / 0.6275 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.3188, allocations: 276.4 kB / 0.6277 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.3192, allocations: 406.4 kB / 0.6281 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.3193, allocations: 87.89 kB / 0.6282 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.3194, allocations: 28 kB / 0.6282 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.32, allocations: 400.7 kB / 0.6286 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3201, allocations: 0 / 0.6286 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.3201, allocations: 12 kB / 0.6286 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3201, allocations: 4 kB / 0.6286 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/0.3208, allocations: 390 kB / 0.629 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.3226, allocations: 1.096 MB / 0.6301 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007053/0.3296, allocations: 1.374 MB / 0.6314 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.3302, allocations: 276.7 kB / 0.6317 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.654e-05/0.3303, allocations: 7.984 kB / 0.6317 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3303, allocations: 47.09 kB / 0.6317 GB, free: 13.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/0.3303, allocations: 0 / 0.6317 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006689/0.337, allocations: 1.951 MB / 0.6336 GB, free: 11.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.3371, allocations: 67.28 kB / 0.6337 GB, free: 11.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.3376, allocations: 397.7 kB / 0.6341 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.3377, allocations: 29.7 kB / 0.6341 GB, free: 11.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.3378, allocations: 208.8 kB / 0.6343 GB, free: 11.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.338, allocations: 134.8 kB / 0.6344 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3381, allocations: 58.02 kB / 0.6345 GB, free: 10.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3383, allocations: 346.8 kB / 0.6348 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.3388, allocations: 232.5 kB / 0.635 GB, free: 10.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.3393, allocations: 229.2 kB / 0.6353 GB, free: 10.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.3404, allocations: 494.9 kB / 0.6357 GB, free: 9.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3404, allocations: 4 kB / 0.6357 GB, free: 9.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004226/0.3446, allocations: 1.28 MB / 0.637 GB, free: 8.238 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3447, allocations: 7.938 kB / 0.637 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3447, allocations: 4 kB / 0.637 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/0.3477, allocations: 0.7673 MB / 0.6377 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.348, allocations: 31.98 kB / 0.6378 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/0.3541, allocations: 3.116 MB / 0.6408 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.3546, allocations: 47.81 kB / 0.6409 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.3547, allocations: 8 kB / 0.6409 GB, free: 4.105 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.0002061/0.3549, allocations: 145.8 kB / 0.641 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/0.355, allocations: 51.66 kB / 0.6411 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.359, allocations: 1.21 MB / 0.6422 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.359, allocations: 7.984 kB / 0.6423 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.359, allocations: 7.938 kB / 0.6423 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.359, allocations: 4 kB / 0.6423 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/0.3597, allocations: 0.5283 MB / 0.6428 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3597, allocations: 3.938 kB / 0.6428 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.3599, allocations: 35.98 kB / 0.6428 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/0.3623, allocations: 0.6229 MB / 0.6434 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.3623, allocations: 4 kB / 0.6434 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/0.3668, allocations: 2.547 MB / 0.6459 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3669, allocations: 0 / 0.6459 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.3715, allocations: 1.59 MB / 0.6475 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.3717, allocations: 136.9 kB / 0.6476 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.3718, allocations: 15.94 kB / 0.6476 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.3722, allocations: 27.97 kB / 0.6476 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.3725, allocations: 87.88 kB / 0.6477 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.3725, allocations: 4 kB / 0.6477 GB, free: 12.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003445/0.3729, allocations: 291.2 kB / 0.648 GB, free: 12.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3729, allocations: 0 / 0.648 GB, free: 12.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005023/0.3734, allocations: 139.9 kB / 0.6481 GB, free: 12.39 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.004944/0.3783, allocations: 2.139 MB / 0.6502 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002929/0.3813, allocations: 1.088 MB / 0.6513 GB, free: 9.074 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3813, allocations: 0 / 0.6513 GB, free: 9.074 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.3831, allocations: 0.7246 MB / 0.652 GB, free: 8.293 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3835, allocations: 33.5 kB / 0.652 GB, free: 8.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.3962, allocations: 5.694 MB / 0.6576 GB, free: 2.461 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.3967, allocations: 0.8111 MB / 0.6584 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.3968, allocations: 30.97 kB / 0.6584 GB, free: 1.598 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.3971, allocations: 139.4 kB / 0.6585 GB, free: 1.461 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3971, allocations: 0 / 0.6585 GB, free: 1.461 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04034/0.4375, allocations: 12.19 MB / 0.6705 GB, free: 5.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.51, allocations: 9.578 kB / 0.6705 GB, free: 5.422 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)