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.007697/0.007697, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.312/1.312, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001464/0.001465, allocations: 184.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4307/0.4307, allocations: 78.53 MB / 418.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 75.88 kB / 0.5531 GB, free: 1.535 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3298, allocations: 68.17 MB / 0.6197 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003171/0.333, allocations: 3.055 MB / 0.6227 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3343, allocations: 0.9644 MB / 0.6236 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3344, allocations: 3.406 kB / 0.6236 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.3347, allocations: 98.72 kB / 0.6237 GB, free: 6.035 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.335, allocations: 171.8 kB / 0.6239 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.3358, allocations: 482.8 kB / 0.6243 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.3361, allocations: 0.5293 MB / 0.6249 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.3363, allocations: 93.03 kB / 0.6249 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.3365, allocations: 223.1 kB / 0.6252 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.3368, allocations: 302.7 kB / 0.6254 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.3368, allocations: 48 kB / 0.6255 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.337, allocations: 104 kB / 0.6256 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.3371, allocations: 115.5 kB / 0.6257 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.3372, allocations: 238.6 kB / 0.6259 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.3376, allocations: 0.5844 MB / 0.6265 GB, free: 3.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3377, allocations: 0 / 0.6265 GB, free: 3.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3377, allocations: 0 / 0.6265 GB, free: 3.207 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.3377, allocations: 0 / 0.6265 GB, free: 3.207 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.002952/0.3406, allocations: 1.18 MB / 0.6277 GB, free: 1.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3407, allocations: 8.031 kB / 0.6277 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.375e-05/0.3408, allocations: 62.73 kB / 0.6277 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.3423, allocations: 272.4 kB / 0.628 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.3427, allocations: 422.5 kB / 0.6284 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.933e-05/0.3428, allocations: 91.89 kB / 0.6285 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.3429, allocations: 31.94 kB / 0.6285 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.3436, allocations: 408.7 kB / 0.6289 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3436, allocations: 0 / 0.6289 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.3436, allocations: 16 kB / 0.6289 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3436, allocations: 7.938 kB / 0.6289 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.3443, allocations: 390 kB / 0.6293 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.3462, allocations: 1.115 MB / 0.6304 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006485/0.3527, allocations: 1.372 MB / 0.6317 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.3532, allocations: 288.6 kB / 0.632 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.3533, allocations: 7.984 kB / 0.632 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3533, allocations: 43.09 kB / 0.632 GB, free: 13.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.3533, allocations: 0 / 0.632 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006278/0.3596, allocations: 1.982 MB / 0.634 GB, free: 11.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3597, allocations: 59.34 kB / 0.634 GB, free: 11.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.3602, allocations: 425.7 kB / 0.6344 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.3602, allocations: 29.7 kB / 0.6345 GB, free: 10.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3604, allocations: 208.8 kB / 0.6347 GB, free: 10.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.3605, allocations: 134.9 kB / 0.6348 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3606, allocations: 61.7 kB / 0.6349 GB, free: 10.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3608, allocations: 350.8 kB / 0.6352 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.3613, allocations: 235.9 kB / 0.6354 GB, free: 9.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.3618, allocations: 243.9 kB / 0.6356 GB, free: 9.527 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.3628, allocations: 0.5087 MB / 0.6361 GB, free: 9.016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3628, allocations: 0 / 0.6361 GB, free: 9.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004221/0.367, allocations: 1.365 MB / 0.6375 GB, free: 7.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.367, allocations: 11.92 kB / 0.6375 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3671, allocations: 8 kB / 0.6375 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003332/0.3704, allocations: 0.8744 MB / 0.6383 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.3706, allocations: 43.97 kB / 0.6384 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/0.3771, allocations: 3.39 MB / 0.6417 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.3777, allocations: 51.8 kB / 0.6418 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.3777, allocations: 11.94 kB / 0.6418 GB, free: 3.098 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.0002082/0.3779, allocations: 149.8 kB / 0.6419 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/0.378, allocations: 43.72 kB / 0.6419 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.3817, allocations: 1.241 MB / 0.6432 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3817, allocations: 4 kB / 0.6432 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3817, allocations: 4 kB / 0.6432 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3817, allocations: 0 / 0.6432 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.3823, allocations: 0.5594 MB / 0.6437 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3823, allocations: 0 / 0.6437 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.3826, allocations: 35.98 kB / 0.6437 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/0.3848, allocations: 0.6268 MB / 0.6444 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.3848, allocations: 12 kB / 0.6444 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/0.389, allocations: 2.551 MB / 0.6469 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.389, allocations: 7.984 kB / 0.6469 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/0.3932, allocations: 1.602 MB / 0.6484 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3934, allocations: 128.8 kB / 0.6486 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.3934, allocations: 4 kB / 0.6486 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.3939, allocations: 35.95 kB / 0.6486 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.3941, allocations: 83.88 kB / 0.6487 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.3942, allocations: 16 kB / 0.6487 GB, free: 11.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003264/0.3945, allocations: 311.1 kB / 0.649 GB, free: 11.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3945, allocations: 0 / 0.649 GB, free: 11.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005198/0.395, allocations: 151.8 kB / 0.6491 GB, free: 11.27 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.004521/0.3996, allocations: 2.163 MB / 0.6512 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002865/0.4024, allocations: 1.146 MB / 0.6524 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4025, allocations: 3.938 kB / 0.6524 GB, free: 7.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.4041, allocations: 0.7287 MB / 0.6531 GB, free: 7.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.4045, allocations: 39.61 kB / 0.6531 GB, free: 7.043 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.4177, allocations: 6.095 MB / 0.6591 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.4181, allocations: 0.8194 MB / 0.6599 GB, free: 0 / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.4183, allocations: 31.03 kB / 0.6599 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.4185, allocations: 143.3 kB / 0.66 GB, free: 15.83 MB / 478.1 MB Notification: Performance of SimCode: time 2.154e-06/0.4186, allocations: 0 / 0.66 GB, free: 15.83 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03953/0.4581, allocations: 12.94 MB / 0.6727 GB, free: 3.039 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.12, allocations: 15.81 kB / 0.6727 GB, free: 3.023 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)