Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07915/0.07915, allocations: 12.59 MB / 28.23 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 115.4 kB / 31.84 MB, free: 3.902 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.29/1.29, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.00128/0.00128, allocations: 191.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.438/0.438, 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.002523/0.002523, allocations: 131.2 kB / 0.5553 GB, free: 28.95 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1117, allocations: 68.14 MB / 0.6219 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003329/0.1151, allocations: 2.787 MB / 0.6246 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1165, allocations: 0.9435 MB / 0.6255 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1167, allocations: 0 / 0.6255 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.117, allocations: 95.33 kB / 0.6256 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.1173, allocations: 131 kB / 0.6257 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009247/0.1182, allocations: 458.3 kB / 0.6262 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.1186, allocations: 430.2 kB / 0.6266 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.1188, allocations: 89.27 kB / 0.6267 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1189, allocations: 175.2 kB / 0.6268 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1192, allocations: 223 kB / 0.6271 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/0.1193, allocations: 32 kB / 0.6271 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.1194, allocations: 91.97 kB / 0.6272 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.1195, allocations: 83.61 kB / 0.6273 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.1197, allocations: 190.9 kB / 0.6274 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.1201, allocations: 0.494 MB / 0.6279 GB, free: 9.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1202, allocations: 4 kB / 0.6279 GB, free: 9.746 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1202, allocations: 0 / 0.6279 GB, free: 9.746 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1202, allocations: 0 / 0.6279 GB, free: 9.746 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002879/0.1231, allocations: 1.024 MB / 0.6289 GB, free: 8.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1231, allocations: 15.98 kB / 0.6289 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.1e-05/0.1232, allocations: 58.73 kB / 0.629 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.1248, allocations: 264.4 kB / 0.6293 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.1252, allocations: 352.1 kB / 0.6296 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.1254, allocations: 99.83 kB / 0.6297 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.1254, allocations: 20 kB / 0.6297 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/0.1262, allocations: 364.8 kB / 0.63 GB, free: 7.449 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1262, allocations: 0 / 0.63 GB, free: 7.449 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.1262, allocations: 12 kB / 0.6301 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.1263, allocations: 4 kB / 0.6301 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/0.127, allocations: 362.1 kB / 0.6304 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.1288, allocations: 1.026 MB / 0.6314 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/0.1355, allocations: 1.353 MB / 0.6327 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.136, allocations: 272.7 kB / 0.633 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.1361, allocations: 4 kB / 0.633 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1361, allocations: 38.56 kB / 0.633 GB, free: 4.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/0.1361, allocations: 0 / 0.633 GB, free: 4.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.006667/0.1428, allocations: 1.975 MB / 0.635 GB, free: 2.273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1428, allocations: 55.41 kB / 0.635 GB, free: 2.207 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.1432, allocations: 324.5 kB / 0.6353 GB, free: 1.883 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1432, allocations: 29.7 kB / 0.6354 GB, free: 1.848 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1433, allocations: 188.8 kB / 0.6355 GB, free: 1.656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1434, allocations: 115 kB / 0.6356 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1436, allocations: 45.98 kB / 0.6357 GB, free: 1.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1437, allocations: 350.7 kB / 0.636 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.1442, allocations: 228.4 kB / 0.6362 GB, free: 0.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.1446, allocations: 221 kB / 0.6364 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009367/0.1456, allocations: 482.2 kB / 0.6369 GB, free: 236 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1456, allocations: 0 / 0.6369 GB, free: 236 kB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004126/0.1497, allocations: 1.249 MB / 0.6381 GB, free: 14.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1498, allocations: 4 kB / 0.6381 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1498, allocations: 4 kB / 0.6381 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/0.1529, allocations: 0.7554 MB / 0.6389 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.1531, allocations: 31.98 kB / 0.6389 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00589/0.159, allocations: 3.13 MB / 0.642 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.1595, allocations: 51.86 kB / 0.642 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.1595, allocations: 4 kB / 0.642 GB, free: 10.83 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 (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.000187/0.1597, allocations: 155.1 kB / 0.6422 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.1598, allocations: 39.77 kB / 0.6422 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.1637, allocations: 1.211 MB / 0.6434 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1637, allocations: 4.125 kB / 0.6434 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1638, allocations: 8 kB / 0.6434 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1638, allocations: 3.984 kB / 0.6434 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.1643, allocations: 0.5243 MB / 0.6439 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1643, allocations: 3.938 kB / 0.6439 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.1645, allocations: 35.92 kB / 0.6439 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/0.1671, allocations: 0.6659 MB / 0.6446 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.1672, allocations: 8 kB / 0.6446 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/0.1715, allocations: 2.685 MB / 0.6472 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1715, allocations: 0 / 0.6472 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00442/0.176, allocations: 1.575 MB / 0.6488 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1761, allocations: 116.8 kB / 0.6489 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.1762, allocations: 15.86 kB / 0.6489 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.1766, allocations: 36.03 kB / 0.6489 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.1769, allocations: 83.88 kB / 0.649 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.1769, allocations: 8 kB / 0.649 GB, free: 3.398 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.1771, allocations: 227.1 kB / 0.6492 GB, free: 3.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1771, allocations: 0 / 0.6492 GB, free: 3.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004912/0.1776, allocations: 143.9 kB / 0.6494 GB, free: 3.039 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.004679/0.1823, allocations: 2.132 MB / 0.6514 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.1849, allocations: 0.9864 MB / 0.6524 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1849, allocations: 4 kB / 0.6524 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.1866, allocations: 0.7091 MB / 0.6531 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.187, allocations: 30.12 kB / 0.6531 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.2035, allocations: 5.651 MB / 0.6587 GB, free: 9.266 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.204, allocations: 0.7912 MB / 0.6594 GB, free: 8.449 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.2041, allocations: 18.3 kB / 0.6594 GB, free: 8.434 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.2043, allocations: 111.4 kB / 0.6596 GB, free: 8.324 MB / 478.1 MB Notification: Performance of SimCode: time 1.252e-06/0.2044, allocations: 0 / 0.6596 GB, free: 8.324 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.2398, allocations: 11.52 MB / 0.6708 GB, free: 12.89 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12, allocations: 15.75 kB / 0.6708 GB, free: 12.88 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)