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.001202/0.001202, allocations: 112 kB / 16.41 MB, free: 6.484 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.344/1.344, allocations: 222.9 MB / 240.1 MB, free: 4.371 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.001403/0.001403, allocations: 184.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5421/0.5421, allocations: 91.91 MB / 432.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 81.95 kB / 0.5734 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1691, allocations: 71.28 MB / 0.643 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.00425/0.1734, allocations: 2.81 MB / 0.6457 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1753, allocations: 0.8882 MB / 0.6466 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.1757, allocations: 4 kB / 0.6466 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.1761, allocations: 87.34 kB / 0.6467 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.1766, allocations: 127 kB / 0.6468 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1777, allocations: 463.3 kB / 0.6472 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005839/0.1783, allocations: 418.3 kB / 0.6476 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.1785, allocations: 96.95 kB / 0.6477 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.1788, allocations: 171.2 kB / 0.6479 GB, free: 14.53 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.1792, allocations: 227 kB / 0.6481 GB, free: 14.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-05/0.1793, allocations: 32 kB / 0.6481 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.1795, allocations: 95.91 kB / 0.6482 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.1796, allocations: 83.61 kB / 0.6483 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.1798, allocations: 190.9 kB / 0.6485 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006638/0.1805, allocations: 498.3 kB / 0.649 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1805, allocations: 0 / 0.649 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1805, allocations: 0 / 0.649 GB, free: 13.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.1805, allocations: 0 / 0.649 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.00326/0.1838, allocations: 1.013 MB / 0.65 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1838, allocations: 8.031 kB / 0.65 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.1856, allocations: 268.2 kB / 0.6502 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.1861, allocations: 343.9 kB / 0.6505 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.1863, allocations: 92.08 kB / 0.6506 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.1864, allocations: 20 kB / 0.6506 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008576/0.1872, allocations: 372.8 kB / 0.651 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1873, allocations: 0 / 0.651 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.1873, allocations: 8 kB / 0.651 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1873, allocations: 8 kB / 0.651 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.1881, allocations: 358 kB / 0.6514 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.1901, allocations: 1.029 MB / 0.6524 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006774/0.1969, allocations: 1.36 MB / 0.6537 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.1976, allocations: 265.2 kB / 0.6539 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.364e-05/0.1976, allocations: 4 kB / 0.654 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1977, allocations: 34.56 kB / 0.654 GB, free: 8.098 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.925e-06/0.1977, allocations: 0 / 0.654 GB, free: 8.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.007028/0.2047, allocations: 1.992 MB / 0.6559 GB, free: 6.035 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.2048, allocations: 55.41 kB / 0.656 GB, free: 5.969 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.2052, allocations: 324.5 kB / 0.6563 GB, free: 5.641 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.2053, allocations: 29.7 kB / 0.6563 GB, free: 5.605 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.2055, allocations: 188.6 kB / 0.6565 GB, free: 5.414 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.2056, allocations: 110.3 kB / 0.6566 GB, free: 5.305 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.2057, allocations: 49.98 kB / 0.6567 GB, free: 5.246 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2059, allocations: 354.7 kB / 0.657 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.2064, allocations: 212.5 kB / 0.6572 GB, free: 4.684 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.2068, allocations: 229 kB / 0.6574 GB, free: 4.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009621/0.2078, allocations: 462.9 kB / 0.6579 GB, free: 4.008 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2078, allocations: 0 / 0.6579 GB, free: 4.008 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004218/0.2121, allocations: 1.253 MB / 0.6591 GB, free: 2.738 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.2121, allocations: 5.719 kB / 0.6591 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.2121, allocations: 7.984 kB / 0.6591 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003198/0.2153, allocations: 0.7517 MB / 0.6598 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.2155, allocations: 31.92 kB / 0.6599 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006404/0.222, allocations: 3.133 MB / 0.6629 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.2226, allocations: 43.86 kB / 0.663 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.2226, allocations: 8 kB / 0.663 GB, free: 14.61 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.0002509/0.2229, allocations: 152.2 kB / 0.6631 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.223, allocations: 35.53 kB / 0.6631 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/0.2271, allocations: 1.218 MB / 0.6643 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.2271, allocations: 4 kB / 0.6643 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.2271, allocations: 112 / 0.6643 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2272, allocations: 3.938 kB / 0.6643 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.2279, allocations: 0.5242 MB / 0.6649 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2279, allocations: 0 / 0.6649 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.2281, allocations: 31.92 kB / 0.6649 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.2308, allocations: 0.6814 MB / 0.6655 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.2309, allocations: 7.984 kB / 0.6656 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004827/0.2357, allocations: 2.672 MB / 0.6682 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2358, allocations: 0 / 0.6682 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004774/0.2406, allocations: 1.583 MB / 0.6697 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.2408, allocations: 116.6 kB / 0.6698 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.2409, allocations: 8 kB / 0.6698 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.2413, allocations: 31.95 kB / 0.6699 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.2416, allocations: 87.88 kB / 0.6699 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.2416, allocations: 4 kB / 0.6699 GB, free: 7.188 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002742/0.2419, allocations: 231.1 kB / 0.6702 GB, free: 6.961 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2419, allocations: 0 / 0.6702 GB, free: 6.961 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006061/0.2425, allocations: 143.8 kB / 0.6703 GB, free: 6.82 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.0002113/0.2427, allocations: 111.2 kB / 0.6704 GB, free: 6.699 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.2454, allocations: 0.9902 MB / 0.6714 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2454, allocations: 0 / 0.6714 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.2472, allocations: 0.7131 MB / 0.6721 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2477, allocations: 29.38 kB / 0.6721 GB, free: 4.852 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/0.2541, allocations: 1.105 MB / 0.6732 GB, free: 3.719 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.2545, allocations: 0.7911 MB / 0.674 GB, free: 2.902 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.2547, allocations: 27.44 kB / 0.674 GB, free: 2.875 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2547, allocations: 0 / 0.674 GB, free: 2.875 MB / 478.1 MB Notification: Performance of Templates: time 0.01301/0.2677, allocations: 9.479 MB / 0.6832 GB, free: 9.387 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)