Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_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_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009793, allocations: 98.83 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4228/0.4228, allocations: 78.5 MB / 418.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 497.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2777, allocations: 68.16 MB / 0.5524 GB, free: 19.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.002731/0.2804, allocations: 3.148 MB / 0.5555 GB, free: 16.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2816, allocations: 0.9627 MB / 0.5564 GB, free: 15.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2817, allocations: 4 kB / 0.5564 GB, free: 15.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.2819, allocations: 75.58 kB / 0.5565 GB, free: 15.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.2822, allocations: 123.1 kB / 0.5566 GB, free: 15.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.2829, allocations: 438.8 kB / 0.557 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.2832, allocations: 498.1 kB / 0.5575 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.2833, allocations: 85.36 kB / 0.5576 GB, free: 14.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.2835, allocations: 199.1 kB / 0.5578 GB, free: 14.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.2837, allocations: 266.8 kB / 0.558 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.2838, allocations: 24 kB / 0.5581 GB, free: 14.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.2839, allocations: 75.98 kB / 0.5581 GB, free: 14.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.284, allocations: 91.52 kB / 0.5582 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.2841, allocations: 206.7 kB / 0.5584 GB, free: 13.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.2845, allocations: 0.5509 MB / 0.559 GB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2845, allocations: 4 kB / 0.559 GB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2845, allocations: 0 / 0.559 GB, free: 13.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2845, allocations: 0 / 0.559 GB, free: 13.18 MB / 378.7 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.002804/0.2873, allocations: 1.111 MB / 0.56 GB, free: 12.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.2873, allocations: 15.97 kB / 0.5601 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.2887, allocations: 264.1 kB / 0.5603 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.2891, allocations: 406.1 kB / 0.5607 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/0.2892, allocations: 92.08 kB / 0.5608 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.2893, allocations: 24 kB / 0.5608 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.2899, allocations: 400.7 kB / 0.5612 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2899, allocations: 4 kB / 0.5612 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.29, allocations: 15.94 kB / 0.5612 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.29, allocations: 8 kB / 0.5612 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006201/0.2906, allocations: 386 kB / 0.5616 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.2922, allocations: 1.092 MB / 0.5626 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006359/0.2985, allocations: 1.394 MB / 0.564 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.299, allocations: 277.3 kB / 0.5643 GB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/0.299, allocations: 11.84 kB / 0.5643 GB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.2991, allocations: 38.5 kB / 0.5643 GB, free: 7.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.2991, allocations: 0 / 0.5643 GB, free: 7.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.005732/0.3048, allocations: 1.95 MB / 0.5662 GB, free: 5.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.3048, allocations: 55.41 kB / 0.5663 GB, free: 5.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.3052, allocations: 405.6 kB / 0.5667 GB, free: 5.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3052, allocations: 33.7 kB / 0.5667 GB, free: 4.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.3053, allocations: 208.5 kB / 0.5669 GB, free: 4.754 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.3053, allocations: 122.2 kB / 0.567 GB, free: 4.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3055, allocations: 54.03 kB / 0.5671 GB, free: 4.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.3055, allocations: 354.8 kB / 0.5674 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.3059, allocations: 228.5 kB / 0.5676 GB, free: 3.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.3064, allocations: 229.2 kB / 0.5678 GB, free: 3.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/0.3072, allocations: 0.4941 MB / 0.5683 GB, free: 3.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3072, allocations: 3.938 kB / 0.5683 GB, free: 3.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003568/0.3108, allocations: 1.272 MB / 0.5696 GB, free: 1.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3108, allocations: 4 kB / 0.5696 GB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3108, allocations: 4 kB / 0.5696 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/0.3135, allocations: 0.7621 MB / 0.5703 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.3137, allocations: 47.92 kB / 0.5704 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004977/0.3187, allocations: 2.854 MB / 0.5732 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.3191, allocations: 47.66 kB / 0.5732 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.3192, allocations: 12 kB / 0.5732 GB, free: 14.12 MB / 394.7 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.0001716/0.3193, allocations: 149.8 kB / 0.5734 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.3194, allocations: 39.52 kB / 0.5734 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.3231, allocations: 1.215 MB / 0.5746 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3231, allocations: 8 kB / 0.5746 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3232, allocations: 0 / 0.5746 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3232, allocations: 0 / 0.5746 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.3237, allocations: 0.536 MB / 0.5751 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3237, allocations: 0 / 0.5751 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.324, allocations: 35.97 kB / 0.5751 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/0.3261, allocations: 0.6345 MB / 0.5758 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.3262, allocations: 8 kB / 0.5758 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003794/0.33, allocations: 2.347 MB / 0.5781 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.33, allocations: 3.938 kB / 0.5781 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0165/0.3465, allocations: 7.663 MB / 0.5855 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3466, allocations: 124.6 kB / 0.5857 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.3467, allocations: 15.98 kB / 0.5857 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.3471, allocations: 31.97 kB / 0.5857 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.3474, allocations: 83.84 kB / 0.5858 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.3474, allocations: 8 kB / 0.5858 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003043/0.3477, allocations: 291.2 kB / 0.5861 GB, free: 416 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3477, allocations: 0 / 0.5861 GB, free: 416 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005869/0.3483, allocations: 187.8 kB / 0.5863 GB, free: 228 kB / 394.7 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.0001682/0.3485, allocations: 115.2 kB / 0.5864 GB, free: 100 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.3513, allocations: 1.068 MB / 0.5874 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3514, allocations: 0 / 0.5874 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001753/0.3531, allocations: 0.7288 MB / 0.5881 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.3536, allocations: 39.84 kB / 0.5882 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.3561, allocations: 1.446 MB / 0.5896 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.3566, allocations: 0.8196 MB / 0.5904 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.3568, allocations: 34.95 kB / 0.5904 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3569, allocations: 31.44 kB / 0.5904 GB, free: 11.74 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3569, allocations: 3.938 kB / 0.5904 GB, free: 11.73 MB / 410.7 MB Notification: Performance of Templates: time 0.01502/0.3719, allocations: 9.729 MB / 0.5999 GB, free: 2.027 MB / 410.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)