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.001024/0.001024, allocations: 106.7 kB / 16.29 MB, free: 6.027 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.668 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.001246/0.001246, allocations: 195.7 kB / 290.2 MB, free: 2.383 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4491/0.4491, allocations: 78.52 MB / 418.9 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 79.86 kB / 498.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1218, allocations: 68.18 MB / 0.5531 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.195/0.3168, allocations: 2.976 MB / 0.556 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.3185, allocations: 0.9497 MB / 0.5569 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.3186, allocations: 6 kB / 0.5569 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.3189, allocations: 92.66 kB / 0.557 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.3192, allocations: 155.5 kB / 0.5571 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.32, allocations: 465 kB / 0.5576 GB, free: 37.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.3204, allocations: 0.4959 MB / 0.5581 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.3206, allocations: 95.73 kB / 0.5582 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.3208, allocations: 209.2 kB / 0.5584 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.3211, allocations: 280.6 kB / 0.5586 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.3212, allocations: 43.97 kB / 0.5587 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.3214, allocations: 99.2 kB / 0.5588 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.3215, allocations: 106.6 kB / 0.5589 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.3216, allocations: 227.4 kB / 0.5591 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.3221, allocations: 0.562 MB / 0.5596 GB, free: 37.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3221, allocations: 0 / 0.5596 GB, free: 37.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3221, allocations: 2.531 kB / 0.5596 GB, free: 37.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.3221, allocations: 0 / 0.5596 GB, free: 37.25 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.002991/0.3251, allocations: 1.122 MB / 0.5607 GB, free: 36.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3251, allocations: 11.67 kB / 0.5607 GB, free: 36.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.3267, allocations: 266.9 kB / 0.561 GB, free: 36.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.3271, allocations: 408.3 kB / 0.5614 GB, free: 36.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.3272, allocations: 91.34 kB / 0.5615 GB, free: 36.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.3273, allocations: 29.91 kB / 0.5615 GB, free: 36.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.328, allocations: 395.9 kB / 0.5619 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.328, allocations: 0 / 0.5619 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.328, allocations: 10.56 kB / 0.5619 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.328, allocations: 6.094 kB / 0.5619 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.3287, allocations: 392 kB / 0.5623 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.3304, allocations: 1.093 MB / 0.5633 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005976/0.3364, allocations: 1.38 MB / 0.5647 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/0.3369, allocations: 271.2 kB / 0.5649 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.3369, allocations: 10.7 kB / 0.5649 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3369, allocations: 36.56 kB / 0.565 GB, free: 35.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.337, allocations: 1.125 kB / 0.565 GB, free: 35.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005555/0.3425, allocations: 1.956 MB / 0.5669 GB, free: 35.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3426, allocations: 56.66 kB / 0.5669 GB, free: 35.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.343, allocations: 402.3 kB / 0.5673 GB, free: 35.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.343, allocations: 36.39 kB / 0.5674 GB, free: 35.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3432, allocations: 208.6 kB / 0.5676 GB, free: 35.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/0.3432, allocations: 121.7 kB / 0.5677 GB, free: 35.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.3434, allocations: 58.38 kB / 0.5677 GB, free: 35.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.3434, allocations: 356.1 kB / 0.5681 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.3439, allocations: 225 kB / 0.5683 GB, free: 34.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.3443, allocations: 234.9 kB / 0.5685 GB, free: 34.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.3452, allocations: 495.4 kB / 0.569 GB, free: 34.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3452, allocations: 0 / 0.569 GB, free: 34.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003565/0.3487, allocations: 1.284 MB / 0.5702 GB, free: 34.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3488, allocations: 2.625 kB / 0.5702 GB, free: 34.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3488, allocations: 3.312 kB / 0.5702 GB, free: 34.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/0.3514, allocations: 0.765 MB / 0.571 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.3516, allocations: 38.2 kB / 0.571 GB, free: 34.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004872/0.3565, allocations: 3.105 MB / 0.5741 GB, free: 33.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.357, allocations: 49.25 kB / 0.5741 GB, free: 33.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.357, allocations: 9.656 kB / 0.5741 GB, free: 33.18 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.0001672/0.3572, allocations: 150.3 kB / 0.5743 GB, free: 33.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.3573, allocations: 40.28 kB / 0.5743 GB, free: 33.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/0.3606, allocations: 1.214 MB / 0.5755 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3606, allocations: 3.812 kB / 0.5755 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3606, allocations: 0 / 0.5755 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3606, allocations: 7.734 kB / 0.5755 GB, free: 32.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.3611, allocations: 0.5294 MB / 0.576 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3611, allocations: 1.312 kB / 0.576 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.3613, allocations: 43.12 kB / 0.5761 GB, free: 32.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/0.3633, allocations: 0.6223 MB / 0.5767 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.3633, allocations: 9.75 kB / 0.5767 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/0.3669, allocations: 2.551 MB / 0.5792 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3669, allocations: 2.406 kB / 0.5792 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/0.3708, allocations: 1.585 MB / 0.5807 GB, free: 30.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3709, allocations: 125.1 kB / 0.5808 GB, free: 30.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/0.371, allocations: 10.28 kB / 0.5808 GB, free: 30.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.3714, allocations: 35.06 kB / 0.5809 GB, free: 30.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.3716, allocations: 87.55 kB / 0.581 GB, free: 30.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.3717, allocations: 13.48 kB / 0.581 GB, free: 30.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000263/0.372, allocations: 288 kB / 0.5812 GB, free: 30.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.372, allocations: 0 / 0.5812 GB, free: 30.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004899/0.3725, allocations: 140.2 kB / 0.5814 GB, free: 30.4 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.000149/0.3726, allocations: 112.3 kB / 0.5815 GB, free: 30.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.375, allocations: 1.08 MB / 0.5825 GB, free: 29.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.375, allocations: 0 / 0.5825 GB, free: 29.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.3765, allocations: 0.7282 MB / 0.5833 GB, free: 29.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3769, allocations: 34.84 kB / 0.5833 GB, free: 29.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.3782, allocations: 0.8439 MB / 0.5841 GB, free: 28.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.3784, allocations: 0.8128 MB / 0.5849 GB, free: 28.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.3785, allocations: 31.41 kB / 0.5849 GB, free: 28.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.3786, allocations: 28.23 kB / 0.585 GB, free: 28.05 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3786, allocations: 0 / 0.585 GB, free: 28.05 MB / 430.1 MB Notification: Performance of Templates: time 0.01301/0.3916, allocations: 8.344 MB / 0.5931 GB, free: 27.64 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)