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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.445/1.445, allocations: 222.9 MB / 240 MB, free: 4.508 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.00155/0.00155, allocations: 188.5 kB / 290.3 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4428/0.4428, allocations: 78.53 MB / 419 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 75.88 kB / 498.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1131, allocations: 68.19 MB / 0.5538 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.2115/0.3247, allocations: 2.975 MB / 0.5567 GB, free: 37.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.3268, allocations: 0.9547 MB / 0.5576 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.3271, allocations: 3.719 kB / 0.5576 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.3275, allocations: 92.88 kB / 0.5577 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.3279, allocations: 154.7 kB / 0.5579 GB, free: 37.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009993/0.3289, allocations: 459.1 kB / 0.5583 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000479/0.3294, allocations: 0.505 MB / 0.5588 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.3296, allocations: 90.28 kB / 0.5589 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.3298, allocations: 211.5 kB / 0.5591 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.3301, allocations: 280.8 kB / 0.5593 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.3302, allocations: 45.38 kB / 0.5594 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.3304, allocations: 92.77 kB / 0.5595 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3305, allocations: 115.3 kB / 0.5596 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.3307, allocations: 223.3 kB / 0.5598 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.3314, allocations: 0.5694 MB / 0.5603 GB, free: 37.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3314, allocations: 0.5625 kB / 0.5603 GB, free: 37.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.3314, allocations: 0 / 0.5603 GB, free: 37.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3314, allocations: 1 kB / 0.5604 GB, free: 37.14 MB / 430.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.003152/0.3346, allocations: 1.121 MB / 0.5614 GB, free: 36.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3346, allocations: 8.125 kB / 0.5615 GB, free: 36.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.3361, allocations: 269.3 kB / 0.5617 GB, free: 36.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.3367, allocations: 402.7 kB / 0.5621 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.149e-05/0.3368, allocations: 95.66 kB / 0.5622 GB, free: 36.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.3368, allocations: 26.77 kB / 0.5622 GB, free: 36.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.3375, allocations: 397.9 kB / 0.5626 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3375, allocations: 2.969 kB / 0.5626 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.3376, allocations: 11.22 kB / 0.5626 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.3376, allocations: 8.719 kB / 0.5626 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/0.3382, allocations: 389.2 kB / 0.563 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.3399, allocations: 1.089 MB / 0.564 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005806/0.3457, allocations: 1.381 MB / 0.5654 GB, free: 35.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.3462, allocations: 275.9 kB / 0.5657 GB, free: 35.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/0.3462, allocations: 3.281 kB / 0.5657 GB, free: 35.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.3463, allocations: 43.94 kB / 0.5657 GB, free: 35.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.3463, allocations: 0 / 0.5657 GB, free: 35.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005304/0.3516, allocations: 1.955 MB / 0.5676 GB, free: 35.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.3516, allocations: 57.81 kB / 0.5677 GB, free: 35.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.352, allocations: 402.4 kB / 0.5681 GB, free: 35.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.3521, allocations: 32.58 kB / 0.5681 GB, free: 35.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.3522, allocations: 214.8 kB / 0.5683 GB, free: 35.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.3522, allocations: 119.1 kB / 0.5684 GB, free: 35.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3524, allocations: 59.98 kB / 0.5685 GB, free: 35.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.3524, allocations: 347.4 kB / 0.5688 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.3528, allocations: 235.8 kB / 0.569 GB, free: 34.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.3532, allocations: 227.8 kB / 0.5692 GB, free: 34.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/0.354, allocations: 496.7 kB / 0.5697 GB, free: 34.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.354, allocations: 0 / 0.5697 GB, free: 34.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003357/0.3574, allocations: 1.278 MB / 0.571 GB, free: 34.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3574, allocations: 5.25 kB / 0.571 GB, free: 34.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3574, allocations: 2.625 kB / 0.571 GB, free: 34.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/0.36, allocations: 0.7692 MB / 0.5717 GB, free: 34.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.3602, allocations: 39.86 kB / 0.5718 GB, free: 34.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004633/0.3648, allocations: 3.099 MB / 0.5748 GB, free: 33.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.3653, allocations: 58.5 kB / 0.5748 GB, free: 33.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.3653, allocations: 5.906 kB / 0.5748 GB, free: 33.07 MB / 430.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.0001514/0.3655, allocations: 145.1 kB / 0.575 GB, free: 32.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.3655, allocations: 37.38 kB / 0.575 GB, free: 32.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/0.3686, allocations: 1.218 MB / 0.5762 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3686, allocations: 2.812 kB / 0.5762 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3686, allocations: 3.469 kB / 0.5762 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3686, allocations: 7.172 kB / 0.5762 GB, free: 32.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.369, allocations: 0.5319 MB / 0.5767 GB, free: 32.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3691, allocations: 0.5625 kB / 0.5767 GB, free: 32.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.3693, allocations: 45.38 kB / 0.5768 GB, free: 32.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001815/0.3711, allocations: 0.6154 MB / 0.5774 GB, free: 32.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.3712, allocations: 9.062 kB / 0.5774 GB, free: 32.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003188/0.3744, allocations: 2.555 MB / 0.5799 GB, free: 31.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3744, allocations: 3.062 kB / 0.5799 GB, free: 31.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/0.3781, allocations: 1.58 MB / 0.5814 GB, free: 30.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.3782, allocations: 122.8 kB / 0.5815 GB, free: 30.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.3782, allocations: 13.61 kB / 0.5816 GB, free: 30.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/0.3787, allocations: 34.42 kB / 0.5816 GB, free: 30.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.3789, allocations: 89.31 kB / 0.5817 GB, free: 30.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.3789, allocations: 10.59 kB / 0.5817 GB, free: 30.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002723/0.3792, allocations: 288.6 kB / 0.582 GB, free: 30.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3792, allocations: 1.344 kB / 0.582 GB, free: 30.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000516/0.3797, allocations: 139.3 kB / 0.5821 GB, free: 30.3 MB / 430.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.0001433/0.3799, allocations: 112.5 kB / 0.5822 GB, free: 30.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.3822, allocations: 1.079 MB / 0.5833 GB, free: 29.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3823, allocations: 1.344 kB / 0.5833 GB, free: 29.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.3837, allocations: 0.7291 MB / 0.584 GB, free: 29.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.384, allocations: 31.36 kB / 0.584 GB, free: 29.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.3854, allocations: 0.8501 MB / 0.5848 GB, free: 28.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3857, allocations: 0.8164 MB / 0.5856 GB, free: 27.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.3858, allocations: 28.64 kB / 0.5857 GB, free: 27.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.889e-05/0.3859, allocations: 25.62 kB / 0.5857 GB, free: 27.95 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.386, allocations: 0 / 0.5857 GB, free: 27.95 MB / 430.1 MB Notification: Performance of Templates: time 0.8053/1.191, allocations: 8.344 MB / 0.5938 GB, free: 27.54 MB / 430.1 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 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)