Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007629/0.0007629, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.43/1.43, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001182/0.001182, allocations: 183.3 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4469/0.4469, allocations: 78.55 MB / 420.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 11.98 kB / 0.4887 GB, free: 6.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 69.35 MB / 0.5564 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.2232/0.3395, allocations: 2.565 MB / 0.5589 GB, free: 38.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3409, allocations: 0.8974 MB / 0.5598 GB, free: 38.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.341, allocations: 3.312 kB / 0.5598 GB, free: 38.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3412, allocations: 72.61 kB / 0.5599 GB, free: 38.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.3415, allocations: 102.9 kB / 0.5599 GB, free: 38.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000787/0.3423, allocations: 416.2 kB / 0.5603 GB, free: 38.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.3426, allocations: 407.4 kB / 0.5607 GB, free: 37.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.3428, allocations: 74.62 kB / 0.5608 GB, free: 37.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3429, allocations: 146.5 kB / 0.5609 GB, free: 37.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.3432, allocations: 217.9 kB / 0.5612 GB, free: 37.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.3432, allocations: 18.34 kB / 0.5612 GB, free: 37.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.3434, allocations: 67.23 kB / 0.5612 GB, free: 37.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.3434, allocations: 72.17 kB / 0.5613 GB, free: 37.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.3435, allocations: 194.2 kB / 0.5615 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.344, allocations: 473.4 kB / 0.5619 GB, free: 37.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.344, allocations: 2 kB / 0.5619 GB, free: 37.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.344, allocations: 2.125 kB / 0.5619 GB, free: 37.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.344, allocations: 0 / 0.5619 GB, free: 37.62 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002693/0.3467, allocations: 0.974 MB / 0.5629 GB, free: 37.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3467, allocations: 9.469 kB / 0.5629 GB, free: 37.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.3484, allocations: 263.9 kB / 0.5632 GB, free: 37.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.3488, allocations: 353.6 kB / 0.5635 GB, free: 36.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-05/0.3489, allocations: 89.55 kB / 0.5636 GB, free: 36.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.3489, allocations: 23.56 kB / 0.5636 GB, free: 36.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007132/0.3496, allocations: 399.6 kB / 0.564 GB, free: 36.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3497, allocations: 0 / 0.564 GB, free: 36.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.3497, allocations: 10.5 kB / 0.564 GB, free: 36.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.3497, allocations: 8.562 kB / 0.564 GB, free: 36.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.3504, allocations: 384.5 kB / 0.5644 GB, free: 36.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.3522, allocations: 1.059 MB / 0.5654 GB, free: 36.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007118/0.3593, allocations: 1.821 MB / 0.5672 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.36, allocations: 287.7 kB / 0.5675 GB, free: 36.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.222e-05/0.36, allocations: 3.547 kB / 0.5675 GB, free: 36.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.36, allocations: 43.11 kB / 0.5675 GB, free: 36.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 3.878e-06/0.3601, allocations: 0 / 0.5675 GB, free: 36.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006928/0.367, allocations: 2.395 MB / 0.5698 GB, free: 35.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.3671, allocations: 54 kB / 0.5699 GB, free: 35.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.3674, allocations: 321.9 kB / 0.5702 GB, free: 35.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.3675, allocations: 32.08 kB / 0.5702 GB, free: 35.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.3676, allocations: 188.3 kB / 0.5704 GB, free: 35.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.3677, allocations: 104 kB / 0.5705 GB, free: 35.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.3677, allocations: 30.14 kB / 0.5705 GB, free: 35.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.3678, allocations: 348.8 kB / 0.5709 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.3683, allocations: 242.1 kB / 0.5711 GB, free: 35.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.3687, allocations: 252.3 kB / 0.5713 GB, free: 35.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009399/0.3697, allocations: 0.5054 MB / 0.5718 GB, free: 35.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3697, allocations: 0 / 0.5718 GB, free: 35.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004286/0.374, allocations: 1.499 MB / 0.5733 GB, free: 34.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.374, allocations: 5.875 kB / 0.5733 GB, free: 34.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.374, allocations: 0 / 0.5733 GB, free: 34.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/0.3772, allocations: 0.8949 MB / 0.5742 GB, free: 34.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.3774, allocations: 29 kB / 0.5742 GB, free: 34.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/0.3824, allocations: 3.057 MB / 0.5772 GB, free: 33.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.3829, allocations: 64.03 kB / 0.5772 GB, free: 33.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.3829, allocations: 7.875 kB / 0.5773 GB, free: 33.52 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 (21): * Single equations (assignments): 18 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.3831, allocations: 148.7 kB / 0.5774 GB, free: 33.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.3832, allocations: 35.12 kB / 0.5774 GB, free: 33.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.3872, allocations: 1.455 MB / 0.5789 GB, free: 33.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3872, allocations: 6.75 kB / 0.5789 GB, free: 33.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3872, allocations: 2.812 kB / 0.5789 GB, free: 33.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3872, allocations: 3.141 kB / 0.5789 GB, free: 33.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.3877, allocations: 0.5104 MB / 0.5794 GB, free: 33.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3877, allocations: 0 / 0.5794 GB, free: 33.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.3879, allocations: 36.58 kB / 0.5794 GB, free: 33.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/0.3907, allocations: 0.8001 MB / 0.5802 GB, free: 32.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.3908, allocations: 7.906 kB / 0.5802 GB, free: 32.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/0.395, allocations: 2.646 MB / 0.5828 GB, free: 31.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.395, allocations: 0 / 0.5828 GB, free: 31.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004719/0.3997, allocations: 1.844 MB / 0.5846 GB, free: 31.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.3998, allocations: 117 kB / 0.5847 GB, free: 30.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.3999, allocations: 10.06 kB / 0.5847 GB, free: 30.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.4004, allocations: 48.42 kB / 0.5847 GB, free: 30.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.4006, allocations: 87.55 kB / 0.5848 GB, free: 30.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.4006, allocations: 4.594 kB / 0.5848 GB, free: 30.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.4009, allocations: 231.9 kB / 0.585 GB, free: 30.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4009, allocations: 0 / 0.585 GB, free: 30.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005044/0.4014, allocations: 140.9 kB / 0.5852 GB, free: 30.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * 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.0001382/0.4015, allocations: 107.2 kB / 0.5853 GB, free: 30.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.404, allocations: 1.097 MB / 0.5864 GB, free: 30.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.404, allocations: 0 / 0.5864 GB, free: 30.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.4058, allocations: 0.7926 MB / 0.5871 GB, free: 29.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4062, allocations: 30.94 kB / 0.5872 GB, free: 29.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/0.4122, allocations: 1.237 MB / 0.5884 GB, free: 29.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.4124, allocations: 0.7918 MB / 0.5891 GB, free: 28.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.4126, allocations: 21.27 kB / 0.5892 GB, free: 28.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.4127, allocations: 22.97 kB / 0.5892 GB, free: 28.36 MB / 430.1 MB Notification: Performance of SimCode: time 5.82e-07/0.4127, allocations: 0 / 0.5892 GB, free: 28.36 MB / 430.1 MB Notification: Performance of Templates: time 0.01307/0.4257, allocations: 7.192 MB / 0.5962 GB, free: 28.04 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: