Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008001/0.008001, allocations: 104.3 kB / 15.73 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.378/1.378, 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.001398/0.001398, allocations: 184.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5416/0.5416, allocations: 91.9 MB / 431.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 82.52 kB / 0.5727 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1163, allocations: 71.29 MB / 0.6423 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003792/0.1201, allocations: 2.796 MB / 0.645 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1217, allocations: 0.8921 MB / 0.6459 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1219, allocations: 0 / 0.6459 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.1222, allocations: 95.34 kB / 0.646 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.1226, allocations: 135 kB / 0.6461 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1237, allocations: 457.4 kB / 0.6466 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006025/0.1243, allocations: 422.3 kB / 0.647 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.1245, allocations: 92.98 kB / 0.6471 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.1248, allocations: 171.2 kB / 0.6472 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.1251, allocations: 223 kB / 0.6474 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.662e-05/0.1252, allocations: 32 kB / 0.6475 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.1254, allocations: 95.95 kB / 0.6476 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.1255, allocations: 87.61 kB / 0.6476 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.1257, allocations: 186.9 kB / 0.6478 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.1263, allocations: 498.2 kB / 0.6483 GB, free: 13.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1263, allocations: 8 kB / 0.6483 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1263, allocations: 0 / 0.6483 GB, free: 13.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1263, allocations: 0 / 0.6483 GB, free: 13.43 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.003225/0.1296, allocations: 1.013 MB / 0.6493 GB, free: 12.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1296, allocations: 12.03 kB / 0.6493 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.1314, allocations: 252.2 kB / 0.6495 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.132, allocations: 355.8 kB / 0.6499 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.1322, allocations: 88.08 kB / 0.65 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.1323, allocations: 24 kB / 0.65 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008513/0.1331, allocations: 368.7 kB / 0.6503 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1332, allocations: 0 / 0.6503 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.1332, allocations: 12 kB / 0.6504 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1332, allocations: 7.938 kB / 0.6504 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008182/0.134, allocations: 370 kB / 0.6507 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.1362, allocations: 1.017 MB / 0.6517 GB, free: 9.785 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007026/0.1432, allocations: 1.36 MB / 0.653 GB, free: 8.414 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/0.1438, allocations: 257.3 kB / 0.6533 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.1439, allocations: 11.98 kB / 0.6533 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1439, allocations: 34.56 kB / 0.6533 GB, free: 8.105 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.435e-06/0.1439, allocations: 0 / 0.6533 GB, free: 8.105 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.00707/0.151, allocations: 1.988 MB / 0.6553 GB, free: 6.047 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.1511, allocations: 55.41 kB / 0.6553 GB, free: 5.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.1514, allocations: 320.5 kB / 0.6556 GB, free: 5.656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.1515, allocations: 29.7 kB / 0.6557 GB, free: 5.621 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1516, allocations: 192.6 kB / 0.6558 GB, free: 5.426 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.1518, allocations: 110.4 kB / 0.6559 GB, free: 5.316 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.1519, allocations: 49.98 kB / 0.656 GB, free: 5.258 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1521, allocations: 350.7 kB / 0.6563 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.1526, allocations: 216.5 kB / 0.6565 GB, free: 4.695 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.1532, allocations: 221 kB / 0.6567 GB, free: 4.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.1543, allocations: 470.8 kB / 0.6572 GB, free: 4.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1543, allocations: 0 / 0.6572 GB, free: 4.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004561/0.1588, allocations: 1.253 MB / 0.6584 GB, free: 2.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1589, allocations: 5.094 kB / 0.6584 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1589, allocations: 0 / 0.6584 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0033/0.1622, allocations: 0.7633 MB / 0.6592 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.1624, allocations: 27.98 kB / 0.6592 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006085/0.1685, allocations: 3.129 MB / 0.6623 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.169, allocations: 43.86 kB / 0.6623 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.1691, allocations: 12 kB / 0.6623 GB, free: 14.62 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 (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.000215/0.1693, allocations: 149.8 kB / 0.6624 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1694, allocations: 39.62 kB / 0.6625 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.1735, allocations: 1.214 MB / 0.6637 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1735, allocations: 4 kB / 0.6637 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1736, allocations: 4 kB / 0.6637 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1736, allocations: 0 / 0.6637 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.1742, allocations: 0.5165 MB / 0.6642 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1742, allocations: 0 / 0.6642 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.1744, allocations: 43.86 kB / 0.6642 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/0.1771, allocations: 0.6698 MB / 0.6649 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.1772, allocations: 8 kB / 0.6649 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004969/0.1822, allocations: 2.676 MB / 0.6675 GB, free: 9.074 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1822, allocations: 0 / 0.6675 GB, free: 9.074 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/0.1868, allocations: 1.587 MB / 0.669 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.187, allocations: 116.6 kB / 0.6692 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.187, allocations: 4 kB / 0.6692 GB, free: 7.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.1875, allocations: 36.03 kB / 0.6692 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.1878, allocations: 87.86 kB / 0.6693 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.1878, allocations: 12 kB / 0.6693 GB, free: 7.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.188, allocations: 227.1 kB / 0.6695 GB, free: 6.969 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1881, allocations: 0 / 0.6695 GB, free: 6.969 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005356/0.1886, allocations: 143.8 kB / 0.6696 GB, free: 6.828 MB / 478.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.0001916/0.1888, allocations: 107.2 kB / 0.6697 GB, free: 6.711 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.1914, allocations: 0.9863 MB / 0.6707 GB, free: 5.668 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1914, allocations: 0 / 0.6707 GB, free: 5.668 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.1933, allocations: 0.7092 MB / 0.6714 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1937, allocations: 39.83 kB / 0.6714 GB, free: 4.863 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006298/0.2, allocations: 1.08 MB / 0.6725 GB, free: 3.762 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.2004, allocations: 0.7872 MB / 0.6733 GB, free: 2.949 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.678e-05/0.2005, allocations: 30.22 kB / 0.6733 GB, free: 2.922 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.2006, allocations: 23.44 kB / 0.6733 GB, free: 2.898 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2006, allocations: 0 / 0.6733 GB, free: 2.898 MB / 478.1 MB Notification: Performance of Templates: time 0.01309/0.2137, allocations: 8.178 MB / 0.6813 GB, free: 10.73 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)