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.001731/0.001731, allocations: 108.4 kB / 16.41 MB, free: 6.512 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.484/1.484, allocations: 222.9 MB / 240.1 MB, free: 4.496 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.001606/0.001606, allocations: 188.5 kB / 290.4 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6239/0.6239, allocations: 91.9 MB / 432.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 87.05 kB / 0.5734 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1281, allocations: 71.28 MB / 0.643 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.004741/0.1329, allocations: 2.797 MB / 0.6457 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1348, allocations: 0.9037 MB / 0.6466 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.135, allocations: 0 / 0.6466 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.1353, allocations: 83.36 kB / 0.6467 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.1356, allocations: 135 kB / 0.6468 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.1367, allocations: 456.4 kB / 0.6472 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.1372, allocations: 426.3 kB / 0.6477 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1374, allocations: 89.03 kB / 0.6477 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.1376, allocations: 175.2 kB / 0.6479 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.1379, allocations: 223 kB / 0.6481 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.138, allocations: 32 kB / 0.6481 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.1382, allocations: 95.95 kB / 0.6482 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.1383, allocations: 83.61 kB / 0.6483 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.1385, allocations: 198.8 kB / 0.6485 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006387/0.1391, allocations: 0.4901 MB / 0.649 GB, free: 13.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1391, allocations: 0 / 0.649 GB, free: 13.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.08e-06/0.1391, allocations: 4 kB / 0.649 GB, free: 13.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1391, allocations: 0 / 0.649 GB, free: 13.41 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.003078/0.1422, allocations: 1.024 MB / 0.65 GB, free: 12.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1423, allocations: 12.03 kB / 0.65 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.144, allocations: 264.4 kB / 0.6503 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.1445, allocations: 352.1 kB / 0.6506 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.1447, allocations: 92.08 kB / 0.6507 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.1447, allocations: 24 kB / 0.6507 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008086/0.1455, allocations: 364.8 kB / 0.651 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1456, allocations: 0 / 0.651 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.1456, allocations: 16 kB / 0.6511 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1456, allocations: 4 kB / 0.6511 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.1464, allocations: 362.1 kB / 0.6514 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.1484, allocations: 1.022 MB / 0.6524 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007113/0.1556, allocations: 1.357 MB / 0.6537 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.1563, allocations: 265.3 kB / 0.654 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.1563, allocations: 4 kB / 0.654 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.1564, allocations: 38.56 kB / 0.654 GB, free: 8.062 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.1564, allocations: 0 / 0.654 GB, free: 8.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.007285/0.1637, allocations: 1.984 MB / 0.656 GB, free: 6.008 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.1638, allocations: 55.41 kB / 0.656 GB, free: 5.941 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.1642, allocations: 320.5 kB / 0.6563 GB, free: 5.617 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.1643, allocations: 33.7 kB / 0.6564 GB, free: 5.578 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1645, allocations: 192.8 kB / 0.6565 GB, free: 5.383 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.1646, allocations: 111 kB / 0.6566 GB, free: 5.273 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.1648, allocations: 53.86 kB / 0.6567 GB, free: 5.211 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.165, allocations: 350.7 kB / 0.657 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.1655, allocations: 220.5 kB / 0.6572 GB, free: 4.645 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.166, allocations: 221 kB / 0.6575 GB, free: 4.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1671, allocations: 470.9 kB / 0.6579 GB, free: 3.969 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1671, allocations: 0 / 0.6579 GB, free: 3.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004563/0.1717, allocations: 1.253 MB / 0.6591 GB, free: 2.699 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1718, allocations: 4 kB / 0.6591 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1718, allocations: 3.984 kB / 0.6591 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/0.1751, allocations: 0.7594 MB / 0.6599 GB, free: 1.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.1754, allocations: 35.92 kB / 0.6599 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006821/0.1822, allocations: 3.134 MB / 0.663 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.1828, allocations: 55.91 kB / 0.663 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.1828, allocations: 4 kB / 0.663 GB, free: 14.55 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.0002216/0.1831, allocations: 148.2 kB / 0.6632 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/0.1832, allocations: 39.77 kB / 0.6632 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004242/0.1874, allocations: 1.214 MB / 0.6644 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1875, allocations: 4 kB / 0.6644 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1875, allocations: 4 kB / 0.6644 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.1875, allocations: 112 / 0.6644 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007552/0.1882, allocations: 0.5204 MB / 0.6649 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1883, allocations: 4 kB / 0.6649 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.1885, allocations: 35.92 kB / 0.6649 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/0.1912, allocations: 0.6659 MB / 0.6656 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.1913, allocations: 11.94 kB / 0.6656 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005024/0.1963, allocations: 2.672 MB / 0.6682 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1963, allocations: 3.938 kB / 0.6682 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00489/0.2012, allocations: 1.587 MB / 0.6698 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2014, allocations: 116.8 kB / 0.6699 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.2015, allocations: 4.094 kB / 0.6699 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.2019, allocations: 40.02 kB / 0.6699 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.2022, allocations: 87.86 kB / 0.67 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.2022, allocations: 8 kB / 0.67 GB, free: 7.129 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002693/0.2025, allocations: 227.1 kB / 0.6702 GB, free: 6.906 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2025, allocations: 0 / 0.6702 GB, free: 6.906 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005371/0.203, allocations: 139.9 kB / 0.6704 GB, free: 6.77 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.0001928/0.2032, allocations: 115.2 kB / 0.6705 GB, free: 6.645 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002587/0.2058, allocations: 0.9901 MB / 0.6714 GB, free: 5.598 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2058, allocations: 0 / 0.6714 GB, free: 5.598 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.2076, allocations: 0.7248 MB / 0.6722 GB, free: 4.816 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.208, allocations: 29.38 kB / 0.6722 GB, free: 4.785 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006194/0.2142, allocations: 1.087 MB / 0.6732 GB, free: 3.676 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.2147, allocations: 0.7912 MB / 0.674 GB, free: 2.859 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.078e-05/0.2148, allocations: 18.3 kB / 0.674 GB, free: 2.844 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.418e-05/0.2148, allocations: 31.42 kB / 0.6741 GB, free: 2.812 MB / 478.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2149, allocations: 0 / 0.6741 GB, free: 2.812 MB / 478.1 MB Notification: Performance of Templates: time 0.0142/0.2291, allocations: 8.182 MB / 0.682 GB, free: 10.64 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)