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.08614/0.08614, allocations: 12.59 MB / 28.22 MB, free: 0.75 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.001123/0.001123, allocations: 111.4 kB / 31.84 MB, free: 3.871 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.326/1.326, 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.0014/0.0014, allocations: 192.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4273/0.4273, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.002724/0.002725, allocations: 142.7 kB / 0.5554 GB, free: 28.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1119, allocations: 68.12 MB / 0.6219 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003946/0.1159, allocations: 2.786 MB / 0.6246 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1178, allocations: 0.9474 MB / 0.6255 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.1181, allocations: 4 kB / 0.6255 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.1184, allocations: 91.33 kB / 0.6256 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.1189, allocations: 139 kB / 0.6258 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009979/0.1199, allocations: 454.4 kB / 0.6262 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004897/0.1204, allocations: 422.3 kB / 0.6266 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.1207, allocations: 89.06 kB / 0.6267 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.121, allocations: 171.2 kB / 0.6268 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.1214, allocations: 231 kB / 0.6271 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.1214, allocations: 32 kB / 0.6271 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.1216, allocations: 87.91 kB / 0.6272 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.1217, allocations: 87.61 kB / 0.6273 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.1219, allocations: 190.9 kB / 0.6274 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005948/0.1225, allocations: 495.7 kB / 0.6279 GB, free: 9.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.507e-06/0.1226, allocations: 0 / 0.6279 GB, free: 9.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1226, allocations: 0 / 0.6279 GB, free: 9.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.1226, allocations: 3.938 kB / 0.6279 GB, free: 9.734 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.002912/0.1255, allocations: 1.021 MB / 0.6289 GB, free: 8.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1256, allocations: 11.98 kB / 0.6289 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.515e-05/0.1256, allocations: 62.72 kB / 0.629 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.1273, allocations: 264.2 kB / 0.6292 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.1278, allocations: 347.8 kB / 0.6296 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.1279, allocations: 83.89 kB / 0.6296 GB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.1281, allocations: 24 kB / 0.6297 GB, free: 7.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007254/0.1288, allocations: 376.7 kB / 0.63 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1289, allocations: 0 / 0.63 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.1289, allocations: 4 kB / 0.63 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1289, allocations: 8 kB / 0.63 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.1296, allocations: 362.1 kB / 0.6304 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.1316, allocations: 1.018 MB / 0.6314 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00643/0.138, allocations: 1.368 MB / 0.6327 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.1386, allocations: 256.8 kB / 0.633 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.1386, allocations: 7.984 kB / 0.633 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.1387, allocations: 42.5 kB / 0.633 GB, free: 4.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.1387, allocations: 0 / 0.633 GB, free: 4.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.006465/0.1451, allocations: 1.979 MB / 0.6349 GB, free: 2.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1452, allocations: 55.41 kB / 0.635 GB, free: 2.203 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.1456, allocations: 320.5 kB / 0.6353 GB, free: 1.883 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1456, allocations: 29.7 kB / 0.6353 GB, free: 1.848 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1457, allocations: 184.6 kB / 0.6355 GB, free: 1.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.1458, allocations: 114.4 kB / 0.6356 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.146, allocations: 45.98 kB / 0.6357 GB, free: 1.496 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1462, allocations: 350.7 kB / 0.636 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.1467, allocations: 220.4 kB / 0.6362 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.1471, allocations: 221 kB / 0.6364 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/0.1481, allocations: 478.2 kB / 0.6369 GB, free: 252 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1481, allocations: 0 / 0.6369 GB, free: 252 kB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003891/0.152, allocations: 1.248 MB / 0.6381 GB, free: 14.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.152, allocations: 8 kB / 0.6381 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.152, allocations: 0 / 0.6381 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/0.1551, allocations: 0.7478 MB / 0.6388 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.1553, allocations: 35.92 kB / 0.6389 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/0.1611, allocations: 3.137 MB / 0.6419 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.1616, allocations: 55.7 kB / 0.642 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.1616, allocations: 8 kB / 0.642 GB, free: 10.84 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.0001796/0.1618, allocations: 155.1 kB / 0.6421 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.162, allocations: 35.62 kB / 0.6422 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.1658, allocations: 1.215 MB / 0.6433 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1658, allocations: 4 kB / 0.6434 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1658, allocations: 3.938 kB / 0.6434 GB, free: 9.406 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1658, allocations: 3.984 kB / 0.6434 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.1664, allocations: 0.5166 MB / 0.6439 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1664, allocations: 3.938 kB / 0.6439 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.1666, allocations: 31.92 kB / 0.6439 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/0.1692, allocations: 0.6737 MB / 0.6446 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.1693, allocations: 4 kB / 0.6446 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00438/0.1737, allocations: 2.685 MB / 0.6472 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1737, allocations: 4 kB / 0.6472 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004324/0.1781, allocations: 1.57 MB / 0.6487 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.1782, allocations: 116.7 kB / 0.6488 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.1783, allocations: 11.98 kB / 0.6488 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/0.1788, allocations: 31.97 kB / 0.6489 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/0.179, allocations: 87.94 kB / 0.649 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.179, allocations: 8 kB / 0.649 GB, free: 3.422 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002354/0.1793, allocations: 231 kB / 0.6492 GB, free: 3.199 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1793, allocations: 0 / 0.6492 GB, free: 3.199 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005945/0.1799, allocations: 143.8 kB / 0.6493 GB, free: 3.059 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.004606/0.1845, allocations: 2.135 MB / 0.6514 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.187, allocations: 0.9825 MB / 0.6524 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.187, allocations: 0 / 0.6524 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.1886, allocations: 0.7169 MB / 0.6531 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.189, allocations: 29.44 kB / 0.6531 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.2057, allocations: 5.636 MB / 0.6586 GB, free: 9.297 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.206, allocations: 0.7873 MB / 0.6594 GB, free: 8.484 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.2062, allocations: 26.3 kB / 0.6594 GB, free: 8.461 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.2064, allocations: 107.4 kB / 0.6595 GB, free: 8.355 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2064, allocations: 0 / 0.6595 GB, free: 8.355 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.2433, allocations: 11.51 MB / 0.6707 GB, free: 12.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.77, allocations: 11.19 kB / 0.6707 GB, free: 12.92 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 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)