Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_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.004922/0.004922, allocations: 96.31 kB / 15.73 MB, free: 5.996 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.262/1.262, allocations: 222.9 MB / 239.4 MB, free: 4.574 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.001359/0.001359, allocations: 192.4 kB / 289.7 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4254/0.4254, allocations: 78.53 MB / 418.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 79.88 kB / 0.5531 GB, free: 1.504 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.31, allocations: 68.17 MB / 0.6197 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002936/0.313, allocations: 2.796 MB / 0.6224 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3143, allocations: 0.8842 MB / 0.6233 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.3144, allocations: 6.906 kB / 0.6233 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.3147, allocations: 91.64 kB / 0.6234 GB, free: 6.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.315, allocations: 141.2 kB / 0.6235 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.3158, allocations: 451.3 kB / 0.6239 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.3161, allocations: 418.3 kB / 0.6243 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3163, allocations: 96.97 kB / 0.6244 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3164, allocations: 179.2 kB / 0.6246 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.3167, allocations: 223 kB / 0.6248 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.3167, allocations: 32 kB / 0.6249 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3168, allocations: 87.98 kB / 0.6249 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.3169, allocations: 87.61 kB / 0.625 GB, free: 4.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.317, allocations: 186.9 kB / 0.6252 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.3175, allocations: 0.4948 MB / 0.6257 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3175, allocations: 0 / 0.6257 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3175, allocations: 0 / 0.6257 GB, free: 4.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3175, allocations: 0 / 0.6257 GB, free: 4.051 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002593/0.3201, allocations: 1.032 MB / 0.6267 GB, free: 2.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3201, allocations: 12.03 kB / 0.6267 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/0.3202, allocations: 58.73 kB / 0.6268 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.3217, allocations: 268.4 kB / 0.627 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.3221, allocations: 352.1 kB / 0.6273 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.3221, allocations: 87.89 kB / 0.6274 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.3222, allocations: 20 kB / 0.6274 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.3228, allocations: 368.8 kB / 0.6278 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3229, allocations: 0 / 0.6278 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.3229, allocations: 8 kB / 0.6278 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3229, allocations: 11.98 kB / 0.6278 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006037/0.3235, allocations: 362.1 kB / 0.6282 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.325, allocations: 1.018 MB / 0.6292 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006471/0.3315, allocations: 1.364 MB / 0.6305 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.332, allocations: 260.7 kB / 0.6307 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.3321, allocations: 4 kB / 0.6307 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3321, allocations: 34.56 kB / 0.6308 GB, free: 14.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.3321, allocations: 4 kB / 0.6308 GB, free: 14.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.006551/0.3387, allocations: 1.98 MB / 0.6327 GB, free: 12.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3387, allocations: 59.39 kB / 0.6328 GB, free: 12.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.3391, allocations: 316.6 kB / 0.6331 GB, free: 12.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.3391, allocations: 29.7 kB / 0.6331 GB, free: 12.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3392, allocations: 192.8 kB / 0.6333 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.3393, allocations: 114.9 kB / 0.6334 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3395, allocations: 53.98 kB / 0.6334 GB, free: 11.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3396, allocations: 346.7 kB / 0.6338 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.34, allocations: 216.5 kB / 0.634 GB, free: 11.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.3405, allocations: 228.9 kB / 0.6342 GB, free: 11.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009246/0.3414, allocations: 470.9 kB / 0.6347 GB, free: 10.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3414, allocations: 0 / 0.6347 GB, free: 10.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003953/0.3454, allocations: 1.253 MB / 0.6359 GB, free: 9.277 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3454, allocations: 11.94 kB / 0.6359 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3454, allocations: 0 / 0.6359 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/0.3484, allocations: 0.7633 MB / 0.6366 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.3486, allocations: 27.98 kB / 0.6367 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005357/0.354, allocations: 3.135 MB / 0.6397 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.3545, allocations: 43.92 kB / 0.6398 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.3545, allocations: 8 kB / 0.6398 GB, free: 5.133 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 (21): * Single equations (assignments): 18 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.3547, allocations: 157.8 kB / 0.6399 GB, free: 4.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.3548, allocations: 35.77 kB / 0.64 GB, free: 4.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/0.3585, allocations: 1.21 MB / 0.6411 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3585, allocations: 4 kB / 0.6411 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3585, allocations: 0 / 0.6411 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3585, allocations: 4 kB / 0.6411 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.359, allocations: 0.5204 MB / 0.6417 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.359, allocations: 8.062 kB / 0.6417 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.3592, allocations: 27.98 kB / 0.6417 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/0.3617, allocations: 0.6776 MB / 0.6423 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.3618, allocations: 4 kB / 0.6424 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004213/0.366, allocations: 2.681 MB / 0.645 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.366, allocations: 0 / 0.645 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/0.3702, allocations: 1.591 MB / 0.6465 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3703, allocations: 120.8 kB / 0.6466 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.3704, allocations: 4 kB / 0.6466 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.3708, allocations: 35.95 kB / 0.6467 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.371, allocations: 83.88 kB / 0.6468 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.371, allocations: 8.062 kB / 0.6468 GB, free: 13.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.3713, allocations: 239 kB / 0.647 GB, free: 13.47 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3713, allocations: 0 / 0.647 GB, free: 13.47 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.3718, allocations: 135.9 kB / 0.6471 GB, free: 13.34 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * 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.004504/0.3763, allocations: 2.131 MB / 0.6492 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.3786, allocations: 0.9903 MB / 0.6502 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3786, allocations: 0 / 0.6502 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.3802, allocations: 0.7172 MB / 0.6509 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.3806, allocations: 31.44 kB / 0.6509 GB, free: 9.316 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/0.3967, allocations: 5.646 MB / 0.6564 GB, free: 3.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.3971, allocations: 0.7834 MB / 0.6572 GB, free: 2.762 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.3972, allocations: 26.28 kB / 0.6572 GB, free: 2.734 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3974, allocations: 115.4 kB / 0.6573 GB, free: 2.621 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3974, allocations: 0 / 0.6573 GB, free: 2.621 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.4304, allocations: 11.51 MB / 0.6686 GB, free: 7.254 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.11, allocations: 1.875 kB / 0.6686 GB, free: 7.254 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)