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.00129/0.001291, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.312/1.312, allocations: 222.9 MB / 240 MB, free: 4.578 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.001222/0.001222, allocations: 184.5 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4537/0.4537, allocations: 78.53 MB / 419 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 87.8 kB / 498.9 MB, free: 5.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1292, allocations: 68.17 MB / 0.5538 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.2212/0.3504, allocations: 2.983 MB / 0.5567 GB, free: 38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3516, allocations: 0.947 MB / 0.5576 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.3518, allocations: 7.594 kB / 0.5576 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.352, allocations: 95.69 kB / 0.5577 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.3523, allocations: 151.9 kB / 0.5579 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008703/0.3532, allocations: 457.5 kB / 0.5583 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.3537, allocations: 0.5066 MB / 0.5588 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.3538, allocations: 91.73 kB / 0.5589 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.354, allocations: 210.2 kB / 0.5591 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.3543, allocations: 281.5 kB / 0.5594 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.3544, allocations: 43.22 kB / 0.5594 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3545, allocations: 96.53 kB / 0.5595 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.3546, allocations: 109.7 kB / 0.5596 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.3548, allocations: 232.6 kB / 0.5598 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.3552, allocations: 0.5589 MB / 0.5604 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3552, allocations: 4.344 kB / 0.5604 GB, free: 37.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3552, allocations: 0 / 0.5604 GB, free: 37.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3552, allocations: 0 / 0.5604 GB, free: 37.21 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.002903/0.3582, allocations: 1.123 MB / 0.5615 GB, free: 36.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3582, allocations: 10.59 kB / 0.5615 GB, free: 36.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.3597, allocations: 266.8 kB / 0.5617 GB, free: 36.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.3601, allocations: 411.6 kB / 0.5621 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.449e-05/0.3602, allocations: 90 kB / 0.5622 GB, free: 36.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.3603, allocations: 26.22 kB / 0.5622 GB, free: 36.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.361, allocations: 396.5 kB / 0.5626 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.361, allocations: 2.469 kB / 0.5626 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.361, allocations: 10.53 kB / 0.5626 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3611, allocations: 10.42 kB / 0.5626 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.3617, allocations: 387.8 kB / 0.563 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.3633, allocations: 1.088 MB / 0.5641 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005961/0.3693, allocations: 1.384 MB / 0.5654 GB, free: 35.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004547/0.3698, allocations: 272 kB / 0.5657 GB, free: 35.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.926e-05/0.3699, allocations: 7.547 kB / 0.5657 GB, free: 35.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.3699, allocations: 38.31 kB / 0.5657 GB, free: 35.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.3699, allocations: 3.562 kB / 0.5657 GB, free: 35.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005581/0.3755, allocations: 1.953 MB / 0.5676 GB, free: 35.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.3755, allocations: 57.16 kB / 0.5677 GB, free: 35.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.3759, allocations: 402.9 kB / 0.5681 GB, free: 35.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3759, allocations: 32.27 kB / 0.5681 GB, free: 35.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.376, allocations: 208.8 kB / 0.5683 GB, free: 35.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.3761, allocations: 116.8 kB / 0.5684 GB, free: 35.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3762, allocations: 62.14 kB / 0.5685 GB, free: 35.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.3763, allocations: 352.5 kB / 0.5688 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.3767, allocations: 230.4 kB / 0.569 GB, free: 34.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.3771, allocations: 230.9 kB / 0.5692 GB, free: 34.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/0.378, allocations: 0.4918 MB / 0.5697 GB, free: 34.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.378, allocations: 4 kB / 0.5697 GB, free: 34.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00351/0.3815, allocations: 1.279 MB / 0.571 GB, free: 34.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3815, allocations: 5.406 kB / 0.571 GB, free: 34.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3816, allocations: 0.5 kB / 0.571 GB, free: 34.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/0.3843, allocations: 0.7642 MB / 0.5717 GB, free: 34.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.3845, allocations: 42.77 kB / 0.5718 GB, free: 34.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005215/0.3897, allocations: 3.101 MB / 0.5748 GB, free: 33.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.3902, allocations: 49.48 kB / 0.5748 GB, free: 33.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.3902, allocations: 5.719 kB / 0.5748 GB, free: 33.14 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.0001808/0.3904, allocations: 155 kB / 0.575 GB, free: 33.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.3905, allocations: 37.42 kB / 0.575 GB, free: 33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.3937, allocations: 1.217 MB / 0.5762 GB, free: 32.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3938, allocations: 2.781 kB / 0.5762 GB, free: 32.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3938, allocations: 7.594 kB / 0.5762 GB, free: 32.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3938, allocations: 7.266 kB / 0.5762 GB, free: 32.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.3942, allocations: 0.5272 MB / 0.5767 GB, free: 32.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3943, allocations: 3.719 kB / 0.5768 GB, free: 32.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.3945, allocations: 36.03 kB / 0.5768 GB, free: 32.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.3964, allocations: 0.6217 MB / 0.5774 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.3965, allocations: 7.562 kB / 0.5774 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/0.3999, allocations: 2.55 MB / 0.5799 GB, free: 31.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3999, allocations: 0 / 0.5799 GB, free: 31.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/0.4038, allocations: 1.587 MB / 0.5814 GB, free: 30.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.404, allocations: 122.8 kB / 0.5816 GB, free: 30.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.404, allocations: 14.16 kB / 0.5816 GB, free: 30.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.4045, allocations: 28.61 kB / 0.5816 GB, free: 30.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.4047, allocations: 95.98 kB / 0.5817 GB, free: 30.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.4047, allocations: 6.062 kB / 0.5817 GB, free: 30.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003224/0.4051, allocations: 293 kB / 0.582 GB, free: 30.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4051, allocations: 0 / 0.582 GB, free: 30.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005215/0.4056, allocations: 140 kB / 0.5821 GB, free: 30.27 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.0001422/0.4057, allocations: 114.4 kB / 0.5822 GB, free: 30.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.4082, allocations: 1.08 MB / 0.5833 GB, free: 29.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4082, allocations: 1.312 kB / 0.5833 GB, free: 29.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.4097, allocations: 0.7212 MB / 0.584 GB, free: 29.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.41, allocations: 33.67 kB / 0.584 GB, free: 29.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.4114, allocations: 0.8529 MB / 0.5848 GB, free: 28.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.4116, allocations: 0.8111 MB / 0.5856 GB, free: 27.94 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.4118, allocations: 33.58 kB / 0.5857 GB, free: 27.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.4119, allocations: 24.94 kB / 0.5857 GB, free: 27.92 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4119, allocations: 0 / 0.5857 GB, free: 27.92 MB / 430.1 MB Notification: Performance of Templates: time 0.01436/0.4262, allocations: 8.339 MB / 0.5938 GB, free: 27.51 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 gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)