Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08607/0.08607, allocations: 12.6 MB / 28.23 MB, free: 76 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 111.4 kB / 31.84 MB, free: 3.41 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 183.4 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4037/0.4037, allocations: 78.52 MB / 419.3 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002686, allocations: 131.2 kB / 0.5553 GB, free: 28.8 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1044, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003545/0.108, allocations: 3.065 MB / 0.6249 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1098, allocations: 1.014 MB / 0.6259 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.1101, allocations: 4 kB / 0.6259 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.1104, allocations: 99.27 kB / 0.626 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.1108, allocations: 174.8 kB / 0.6261 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.1119, allocations: 464.8 kB / 0.6266 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.1125, allocations: 0.5293 MB / 0.6271 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1127, allocations: 101.2 kB / 0.6272 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.113, allocations: 227 kB / 0.6274 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.1133, allocations: 302.7 kB / 0.6277 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.1134, allocations: 48 kB / 0.6277 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.1136, allocations: 95.98 kB / 0.6278 GB, free: 9.832 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.1137, allocations: 115.6 kB / 0.6279 GB, free: 9.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.1138, allocations: 238.6 kB / 0.6282 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.1144, allocations: 0.5952 MB / 0.6288 GB, free: 8.887 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1145, allocations: 0 / 0.6288 GB, free: 8.887 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1145, allocations: 3.938 kB / 0.6288 GB, free: 8.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1145, allocations: 0 / 0.6288 GB, free: 8.883 MB / 446.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.003371/0.1179, allocations: 1.168 MB / 0.6299 GB, free: 7.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1179, allocations: 11.98 kB / 0.6299 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.323e-05/0.118, allocations: 70.72 kB / 0.63 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.1197, allocations: 264.4 kB / 0.6302 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.1202, allocations: 430.4 kB / 0.6306 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.1203, allocations: 83.91 kB / 0.6307 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/0.1204, allocations: 28 kB / 0.6307 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007796/0.1212, allocations: 412.7 kB / 0.6311 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1212, allocations: 0 / 0.6311 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.1213, allocations: 12 kB / 0.6311 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1213, allocations: 4 kB / 0.6312 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007689/0.122, allocations: 390 kB / 0.6315 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.1239, allocations: 1.123 MB / 0.6326 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006833/0.1308, allocations: 1.376 MB / 0.634 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.1314, allocations: 280.7 kB / 0.6342 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.1315, allocations: 4 kB / 0.6342 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1315, allocations: 42.5 kB / 0.6343 GB, free: 3.031 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.1315, allocations: 0 / 0.6343 GB, free: 3.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006517/0.138, allocations: 1.99 MB / 0.6362 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1381, allocations: 59.34 kB / 0.6363 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.1386, allocations: 421.7 kB / 0.6367 GB, free: 488 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.1386, allocations: 29.7 kB / 0.6367 GB, free: 452 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1388, allocations: 212.7 kB / 0.6369 GB, free: 236 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.1389, allocations: 134.8 kB / 0.637 GB, free: 100 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.139, allocations: 65.69 kB / 0.6371 GB, free: 28 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1392, allocations: 350.8 kB / 0.6374 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.1397, allocations: 239.9 kB / 0.6377 GB, free: 15.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.1402, allocations: 243.7 kB / 0.6379 GB, free: 15.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.1412, allocations: 0.5087 MB / 0.6384 GB, free: 14.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1412, allocations: 0 / 0.6384 GB, free: 14.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004472/0.1457, allocations: 1.373 MB / 0.6397 GB, free: 13.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.1458, allocations: 7.938 kB / 0.6397 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1458, allocations: 8 kB / 0.6397 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/0.1493, allocations: 0.8727 MB / 0.6406 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.1495, allocations: 43.91 kB / 0.6406 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006483/0.156, allocations: 3.394 MB / 0.644 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.1566, allocations: 51.75 kB / 0.644 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.1566, allocations: 15.92 kB / 0.644 GB, free: 8.762 MB / 462.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.0002126/0.1568, allocations: 147.4 kB / 0.6442 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1569, allocations: 43.7 kB / 0.6442 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.1607, allocations: 1.229 MB / 0.6454 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.1608, allocations: 4 kB / 0.6454 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.1608, allocations: 7.984 kB / 0.6454 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1608, allocations: 0 / 0.6454 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.1615, allocations: 0.5555 MB / 0.646 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1615, allocations: 0 / 0.646 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.1618, allocations: 35.98 kB / 0.646 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/0.1641, allocations: 0.6346 MB / 0.6466 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.1641, allocations: 11.98 kB / 0.6466 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004157/0.1683, allocations: 2.557 MB / 0.6491 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1683, allocations: 4 kB / 0.6491 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.1727, allocations: 1.61 MB / 0.6507 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.1729, allocations: 132.8 kB / 0.6508 GB, free: 1.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.1729, allocations: 8 kB / 0.6508 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.1734, allocations: 31.97 kB / 0.6509 GB, free: 1.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.1737, allocations: 91.8 kB / 0.6509 GB, free: 1.391 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.1737, allocations: 11.94 kB / 0.651 GB, free: 1.379 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003715/0.1741, allocations: 307.2 kB / 0.6513 GB, free: 1.082 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1741, allocations: 0 / 0.6513 GB, free: 1.082 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005591/0.1747, allocations: 155.8 kB / 0.6514 GB, free: 0.9297 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.004695/0.1794, allocations: 2.155 MB / 0.6535 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002958/0.1823, allocations: 1.131 MB / 0.6546 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1824, allocations: 4 kB / 0.6546 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.1841, allocations: 0.7401 MB / 0.6553 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.1846, allocations: 34.25 kB / 0.6554 GB, free: 12.71 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.1976, allocations: 6.099 MB / 0.6613 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.198, allocations: 0.8235 MB / 0.6621 GB, free: 5.672 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.1982, allocations: 26.97 kB / 0.6622 GB, free: 5.648 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.1984, allocations: 139.4 kB / 0.6623 GB, free: 5.512 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1985, allocations: 0 / 0.6623 GB, free: 5.512 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.2337, allocations: 12.94 MB / 0.6749 GB, free: 8.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.14, allocations: 0 / 0.6749 GB, free: 8.66 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)