Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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.004502/0.004502, allocations: 104.8 kB / 15.74 MB, free: 6.039 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.27/1.27, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.0014/0.0014, allocations: 188.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4852/0.4852, allocations: 91.91 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 79.56 kB / 0.5722 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 71.28 MB / 0.6418 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003572/0.121, allocations: 3.065 MB / 0.6448 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1224, allocations: 0.9707 MB / 0.6458 GB, free: 72 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1226, allocations: 7.938 kB / 0.6458 GB, free: 64 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1229, allocations: 95.38 kB / 0.6459 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1232, allocations: 174.8 kB / 0.646 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009246/0.1241, allocations: 473.5 kB / 0.6465 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.1246, allocations: 0.5332 MB / 0.647 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.1248, allocations: 91.86 kB / 0.6471 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.125, allocations: 231 kB / 0.6473 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.1254, allocations: 298.7 kB / 0.6476 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.975e-05/0.1255, allocations: 52 kB / 0.6477 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1256, allocations: 99.97 kB / 0.6477 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.062e-05/0.1257, allocations: 115.6 kB / 0.6479 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1259, allocations: 242.6 kB / 0.6481 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.1265, allocations: 0.577 MB / 0.6487 GB, free: 13.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1265, allocations: 0 / 0.6487 GB, free: 13.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1265, allocations: 3.938 kB / 0.6487 GB, free: 13.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1265, allocations: 0 / 0.6487 GB, free: 13.11 MB / 462.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.003174/0.1297, allocations: 1.157 MB / 0.6498 GB, free: 11.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1297, allocations: 12.03 kB / 0.6498 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.845e-05/0.1298, allocations: 62.72 kB / 0.6499 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.1313, allocations: 268 kB / 0.6501 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.1318, allocations: 414.2 kB / 0.6505 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.132, allocations: 95.89 kB / 0.6506 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.132, allocations: 31.91 kB / 0.6506 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/0.1328, allocations: 404.7 kB / 0.651 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1328, allocations: 3.938 kB / 0.651 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.1328, allocations: 12 kB / 0.651 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1329, allocations: 8 kB / 0.651 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007144/0.1336, allocations: 394 kB / 0.6514 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.1355, allocations: 1.119 MB / 0.6525 GB, free: 8.992 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005954/0.1415, allocations: 1.376 MB / 0.6539 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/0.142, allocations: 284.7 kB / 0.6541 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/0.1421, allocations: 4 kB / 0.6541 GB, free: 7.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1421, allocations: 38.5 kB / 0.6542 GB, free: 7.273 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.1421, allocations: 0 / 0.6542 GB, free: 7.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.005639/0.1477, allocations: 1.979 MB / 0.6561 GB, free: 5.223 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1478, allocations: 59.34 kB / 0.6562 GB, free: 5.152 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.1482, allocations: 425.7 kB / 0.6566 GB, free: 4.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.1483, allocations: 33.69 kB / 0.6566 GB, free: 4.691 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1484, allocations: 208.5 kB / 0.6568 GB, free: 4.484 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.83e-05/0.1485, allocations: 130.1 kB / 0.6569 GB, free: 4.355 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.1487, allocations: 65.7 kB / 0.657 GB, free: 4.285 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1488, allocations: 350.8 kB / 0.6573 GB, free: 3.934 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.1492, allocations: 235.9 kB / 0.6575 GB, free: 3.703 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.1497, allocations: 247.7 kB / 0.6578 GB, free: 3.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.1506, allocations: 0.505 MB / 0.6583 GB, free: 2.953 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1506, allocations: 0 / 0.6583 GB, free: 2.953 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003952/0.1546, allocations: 1.369 MB / 0.6596 GB, free: 1.566 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1546, allocations: 13.19 kB / 0.6596 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1546, allocations: 3.938 kB / 0.6596 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00315/0.1578, allocations: 0.8823 MB / 0.6605 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.158, allocations: 31.98 kB / 0.6605 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006134/0.1641, allocations: 3.384 MB / 0.6638 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.1646, allocations: 47.75 kB / 0.6639 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.1647, allocations: 11.94 kB / 0.6639 GB, free: 13.05 MB / 478.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.1649, allocations: 149.8 kB / 0.664 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.165, allocations: 43.44 kB / 0.6641 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.1684, allocations: 1.241 MB / 0.6653 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1684, allocations: 8 kB / 0.6653 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1684, allocations: 4 kB / 0.6653 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1684, allocations: 3.984 kB / 0.6653 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.169, allocations: 0.5517 MB / 0.6658 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.169, allocations: 3.938 kB / 0.6658 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.1693, allocations: 35.98 kB / 0.6659 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/0.1713, allocations: 0.6229 MB / 0.6665 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.1714, allocations: 12 kB / 0.6665 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003888/0.1753, allocations: 2.567 MB / 0.669 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1753, allocations: 4 kB / 0.669 GB, free: 7.574 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003953/0.1793, allocations: 1.602 MB / 0.6706 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1794, allocations: 124.6 kB / 0.6707 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.1795, allocations: 7.984 kB / 0.6707 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.1799, allocations: 35.97 kB / 0.6707 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.1801, allocations: 83.88 kB / 0.6708 GB, free: 5.676 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.1802, allocations: 8 kB / 0.6708 GB, free: 5.668 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003335/0.1805, allocations: 315.1 kB / 0.6711 GB, free: 5.363 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1805, allocations: 0 / 0.6711 GB, free: 5.363 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004988/0.181, allocations: 151.8 kB / 0.6713 GB, free: 5.215 MB / 478.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.004204/0.1852, allocations: 2.161 MB / 0.6734 GB, free: 3.016 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.188, allocations: 1.131 MB / 0.6745 GB, free: 1.828 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.195e-06/0.188, allocations: 4 kB / 0.6745 GB, free: 1.824 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.1896, allocations: 0.7401 MB / 0.6752 GB, free: 1.027 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.19, allocations: 37.56 kB / 0.6752 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.2022, allocations: 6.074 MB / 0.6812 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.2026, allocations: 0.8118 MB / 0.682 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.2028, allocations: 34.89 kB / 0.682 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.203, allocations: 147.4 kB / 0.6821 GB, free: 9.801 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.203, allocations: 0 / 0.6821 GB, free: 9.801 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.2342, allocations: 12.94 MB / 0.6948 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.95, allocations: 3.938 kB / 0.6948 GB, free: 13.02 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)