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.007928/0.007928, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.379/1.379, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001386/0.001385, allocations: 192.4 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5162/0.5162, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 76.53 kB / 0.5727 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1189, allocations: 71.28 MB / 0.6423 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.005658/0.1246, allocations: 3.005 MB / 0.6452 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.127, allocations: 0.9434 MB / 0.6462 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003368/0.1274, allocations: 0 / 0.6462 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.1278, allocations: 95.27 kB / 0.6463 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.1284, allocations: 166.9 kB / 0.6464 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1294, allocations: 465.4 kB / 0.6469 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000597/0.13, allocations: 0.5098 MB / 0.6474 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.1303, allocations: 97 kB / 0.6474 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.1306, allocations: 215 kB / 0.6477 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.131, allocations: 278.8 kB / 0.6479 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.35e-05/0.1311, allocations: 44 kB / 0.648 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.1313, allocations: 95.97 kB / 0.6481 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1314, allocations: 115.5 kB / 0.6482 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.1316, allocations: 222.7 kB / 0.6484 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.1322, allocations: 0.5645 MB / 0.6489 GB, free: 12.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1322, allocations: 4 kB / 0.6489 GB, free: 12.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1322, allocations: 0 / 0.6489 GB, free: 12.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1323, allocations: 4 kB / 0.6489 GB, free: 12.81 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.003521/0.1358, allocations: 1.107 MB / 0.65 GB, free: 11.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1358, allocations: 8.031 kB / 0.65 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.1376, allocations: 272 kB / 0.6503 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.1381, allocations: 406.1 kB / 0.6507 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.1382, allocations: 96.02 kB / 0.6508 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.1383, allocations: 24 kB / 0.6508 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/0.1391, allocations: 396.7 kB / 0.6512 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1392, allocations: 7.938 kB / 0.6512 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1392, allocations: 12 kB / 0.6512 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.1392, allocations: 11.98 kB / 0.6512 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.14, allocations: 390 kB / 0.6516 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.1421, allocations: 1.088 MB / 0.6526 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006903/0.149, allocations: 1.376 MB / 0.654 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.1496, allocations: 276.7 kB / 0.6542 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.1496, allocations: 4 kB / 0.6542 GB, free: 7.203 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1497, allocations: 38.5 kB / 0.6543 GB, free: 7.156 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.994e-06/0.1497, allocations: 4 kB / 0.6543 GB, free: 7.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.006589/0.1563, allocations: 1.955 MB / 0.6562 GB, free: 5.125 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1563, allocations: 59.41 kB / 0.6562 GB, free: 5.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.1569, allocations: 401.6 kB / 0.6566 GB, free: 4.656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.1569, allocations: 29.7 kB / 0.6567 GB, free: 4.621 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1571, allocations: 208.6 kB / 0.6569 GB, free: 4.414 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1572, allocations: 126.1 kB / 0.657 GB, free: 4.289 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1574, allocations: 58.02 kB / 0.657 GB, free: 4.223 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1575, allocations: 350.8 kB / 0.6574 GB, free: 3.871 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/0.158, allocations: 224.5 kB / 0.6576 GB, free: 3.652 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.1585, allocations: 237.2 kB / 0.6578 GB, free: 3.422 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.1595, allocations: 490.9 kB / 0.6583 GB, free: 2.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1596, allocations: 3.938 kB / 0.6583 GB, free: 2.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004162/0.1637, allocations: 1.279 MB / 0.6595 GB, free: 1.641 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1638, allocations: 4 kB / 0.6595 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1638, allocations: 0 / 0.6595 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003134/0.1669, allocations: 0.7693 MB / 0.6603 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.1671, allocations: 47.91 kB / 0.6603 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00662/0.1738, allocations: 3.094 MB / 0.6633 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.1743, allocations: 47.75 kB / 0.6634 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.1743, allocations: 16 kB / 0.6634 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.0002249/0.1746, allocations: 148.3 kB / 0.6636 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.1747, allocations: 39.53 kB / 0.6636 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.1786, allocations: 1.229 MB / 0.6648 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1786, allocations: 4 kB / 0.6648 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1786, allocations: 4 kB / 0.6648 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1786, allocations: 7.922 kB / 0.6648 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.1793, allocations: 0.5283 MB / 0.6653 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1793, allocations: 0 / 0.6653 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.1796, allocations: 35.98 kB / 0.6654 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/0.182, allocations: 0.6229 MB / 0.666 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.1821, allocations: 12 kB / 0.666 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004441/0.1865, allocations: 2.551 MB / 0.6685 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1865, allocations: 0 / 0.6685 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004486/0.191, allocations: 1.574 MB / 0.67 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.1912, allocations: 132.5 kB / 0.6701 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.1913, allocations: 7.938 kB / 0.6701 GB, free: 6.355 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.1918, allocations: 31.97 kB / 0.6702 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/0.1921, allocations: 91.88 kB / 0.6703 GB, free: 6.234 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.1921, allocations: 11.98 kB / 0.6703 GB, free: 6.223 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003533/0.1925, allocations: 287.2 kB / 0.6705 GB, free: 5.941 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1925, allocations: 0 / 0.6705 GB, free: 5.941 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005614/0.1931, allocations: 139.8 kB / 0.6707 GB, free: 5.805 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.0002069/0.1933, allocations: 115.7 kB / 0.6708 GB, free: 5.684 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.1963, allocations: 1.088 MB / 0.6718 GB, free: 4.539 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1963, allocations: 0 / 0.6718 GB, free: 4.539 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.1981, allocations: 0.7326 MB / 0.6726 GB, free: 3.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.1986, allocations: 29.56 kB / 0.6726 GB, free: 3.723 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.2004, allocations: 0.8394 MB / 0.6734 GB, free: 2.852 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.2009, allocations: 0.8111 MB / 0.6742 GB, free: 2.012 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.201, allocations: 30.97 kB / 0.6742 GB, free: 1.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.2011, allocations: 27.44 kB / 0.6743 GB, free: 1.957 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2011, allocations: 0 / 0.6743 GB, free: 1.957 MB / 478.1 MB Notification: Performance of Templates: time 0.01526/0.2164, allocations: 8.418 MB / 0.6825 GB, free: 9.539 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)