Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.35/1.35, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.002208/0.002208, allocations: 188.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5475/0.5475, allocations: 91.9 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 82.86 kB / 0.5734 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.142, allocations: 71.28 MB / 0.643 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.00444/0.1465, allocations: 3.011 MB / 0.6459 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1486, allocations: 0.9432 MB / 0.6468 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.1488, allocations: 8 kB / 0.6468 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.1491, allocations: 87.34 kB / 0.6469 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.1494, allocations: 146.9 kB / 0.6471 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1505, allocations: 473.6 kB / 0.6475 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.151, allocations: 0.5059 MB / 0.648 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.1513, allocations: 96.98 kB / 0.6481 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.1515, allocations: 215.1 kB / 0.6483 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.1519, allocations: 274.8 kB / 0.6486 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.985e-05/0.152, allocations: 44 kB / 0.6486 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1522, allocations: 103.9 kB / 0.6487 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1523, allocations: 115.5 kB / 0.6488 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.1525, allocations: 226.7 kB / 0.649 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.1531, allocations: 0.5567 MB / 0.6496 GB, free: 12.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1532, allocations: 0 / 0.6496 GB, free: 12.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1532, allocations: 0 / 0.6496 GB, free: 12.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1532, allocations: 0 / 0.6496 GB, free: 12.82 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.00347/0.1567, allocations: 1.111 MB / 0.6507 GB, free: 11.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1567, allocations: 12.03 kB / 0.6507 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.1583, allocations: 272 kB / 0.6509 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.1589, allocations: 402.1 kB / 0.6513 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.159, allocations: 92.02 kB / 0.6514 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.1591, allocations: 32 kB / 0.6514 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.1598, allocations: 400.7 kB / 0.6518 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1599, allocations: 0 / 0.6518 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.1599, allocations: 8 kB / 0.6518 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1599, allocations: 8 kB / 0.6518 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007311/0.1607, allocations: 386 kB / 0.6522 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.1626, allocations: 1.099 MB / 0.6533 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006508/0.1691, allocations: 1.376 MB / 0.6546 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/0.1697, allocations: 272.7 kB / 0.6549 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.1698, allocations: 4 kB / 0.6549 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1698, allocations: 34.56 kB / 0.6549 GB, free: 7.164 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/0.1698, allocations: 4 kB / 0.6549 GB, free: 7.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.006129/0.1759, allocations: 1.963 MB / 0.6568 GB, free: 5.125 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.176, allocations: 55.41 kB / 0.6569 GB, free: 5.059 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.1765, allocations: 401.6 kB / 0.6573 GB, free: 4.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.1765, allocations: 33.7 kB / 0.6573 GB, free: 4.621 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1767, allocations: 208.6 kB / 0.6575 GB, free: 4.414 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.1768, allocations: 126.1 kB / 0.6576 GB, free: 4.289 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.177, allocations: 58.03 kB / 0.6577 GB, free: 4.223 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1771, allocations: 346.8 kB / 0.658 GB, free: 3.875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.1776, allocations: 232.5 kB / 0.6582 GB, free: 3.648 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.178, allocations: 233.2 kB / 0.6585 GB, free: 3.422 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009552/0.179, allocations: 494.9 kB / 0.6589 GB, free: 2.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.179, allocations: 0 / 0.6589 GB, free: 2.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003902/0.1829, allocations: 1.276 MB / 0.6602 GB, free: 1.645 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.183, allocations: 11.94 kB / 0.6602 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.183, allocations: 0 / 0.6602 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/0.1859, allocations: 0.769 MB / 0.6609 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.1861, allocations: 39.97 kB / 0.661 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005739/0.1919, allocations: 3.099 MB / 0.664 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.1924, allocations: 47.75 kB / 0.6641 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.1924, allocations: 12 kB / 0.6641 GB, free: 13.52 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.1927, allocations: 141.8 kB / 0.6642 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.1928, allocations: 39.53 kB / 0.6642 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/0.1963, allocations: 1.233 MB / 0.6654 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1963, allocations: 4 kB / 0.6654 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1964, allocations: 4 kB / 0.6654 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1964, allocations: 3.938 kB / 0.6655 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.197, allocations: 0.5321 MB / 0.666 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.197, allocations: 4 kB / 0.666 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.1973, allocations: 31.98 kB / 0.666 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/0.1994, allocations: 0.6268 MB / 0.6666 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.1995, allocations: 12 kB / 0.6666 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/0.2036, allocations: 2.555 MB / 0.6691 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2036, allocations: 0 / 0.6691 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/0.2078, allocations: 1.574 MB / 0.6707 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.208, allocations: 132.5 kB / 0.6708 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.2081, allocations: 7.938 kB / 0.6708 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.2085, allocations: 35.97 kB / 0.6708 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.2088, allocations: 87.86 kB / 0.6709 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.2088, allocations: 8 kB / 0.6709 GB, free: 6.223 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003266/0.2091, allocations: 291.2 kB / 0.6712 GB, free: 5.938 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2091, allocations: 0 / 0.6712 GB, free: 5.938 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005121/0.2097, allocations: 139.8 kB / 0.6713 GB, free: 5.801 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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.0001959/0.2099, allocations: 115.7 kB / 0.6714 GB, free: 5.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.2125, allocations: 1.084 MB / 0.6725 GB, free: 4.539 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2125, allocations: 0 / 0.6725 GB, free: 4.539 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.2141, allocations: 0.7249 MB / 0.6732 GB, free: 3.758 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.2145, allocations: 33.56 kB / 0.6732 GB, free: 3.727 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.2161, allocations: 0.8762 MB / 0.6741 GB, free: 2.812 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.2165, allocations: 0.8111 MB / 0.6749 GB, free: 1.973 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2166, allocations: 27.44 kB / 0.6749 GB, free: 1.949 MB / 478.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2166, allocations: 0 / 0.6749 GB, free: 1.949 MB / 478.1 MB Notification: Performance of Templates: time 0.01157/0.2282, allocations: 10.51 MB / 0.6852 GB, free: 7.422 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)