Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001082/0.001082, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.26/1.26, allocations: 222.9 MB / 240 MB, free: 4.492 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.001203/0.001203, allocations: 180.5 kB / 290.3 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5056/0.5056, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 87.86 kB / 0.5033 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3254, allocations: 71.25 MB / 0.5729 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.00305/0.3285, allocations: 3.003 MB / 0.5758 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3296, allocations: 0.9556 MB / 0.5767 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.3298, allocations: 0 / 0.5767 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.33, allocations: 95.45 kB / 0.5768 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.3303, allocations: 153.9 kB / 0.577 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.331, allocations: 455.7 kB / 0.5774 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.3314, allocations: 0.5047 MB / 0.5779 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.3315, allocations: 103.2 kB / 0.578 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.3317, allocations: 211.2 kB / 0.5782 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.332, allocations: 279.5 kB / 0.5785 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.954e-05/0.3321, allocations: 43.31 kB / 0.5785 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.3322, allocations: 95.7 kB / 0.5786 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.3323, allocations: 110.3 kB / 0.5787 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.3324, allocations: 231 kB / 0.5789 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.3328, allocations: 0.5669 MB / 0.5795 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3328, allocations: 3.938 kB / 0.5795 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3328, allocations: 3.938 kB / 0.5795 GB, free: 33.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3328, allocations: 1.875 kB / 0.5795 GB, free: 33.64 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.00277/0.3356, allocations: 1.118 MB / 0.5806 GB, free: 33.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.3356, allocations: 10.28 kB / 0.5806 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.3372, allocations: 265.3 kB / 0.5808 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.3376, allocations: 406.4 kB / 0.5812 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/0.3376, allocations: 90.12 kB / 0.5813 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.3377, allocations: 26.22 kB / 0.5813 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.3383, allocations: 406.6 kB / 0.5817 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3384, allocations: 3.984 kB / 0.5817 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.3384, allocations: 10.75 kB / 0.5817 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3384, allocations: 5.75 kB / 0.5817 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000626/0.339, allocations: 391.2 kB / 0.5821 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.3407, allocations: 1.09 MB / 0.5832 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005933/0.3466, allocations: 1.378 MB / 0.5845 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.3471, allocations: 277.8 kB / 0.5848 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.3471, allocations: 7.141 kB / 0.5848 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.3472, allocations: 33.88 kB / 0.5848 GB, free: 31.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.3472, allocations: 0 / 0.5848 GB, free: 31.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005516/0.3527, allocations: 1.957 MB / 0.5867 GB, free: 30.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.3527, allocations: 55.5 kB / 0.5868 GB, free: 30.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.3531, allocations: 407.5 kB / 0.5872 GB, free: 30.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.3532, allocations: 33.7 kB / 0.5872 GB, free: 30.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3533, allocations: 206.4 kB / 0.5874 GB, free: 30.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.664e-05/0.3533, allocations: 117.4 kB / 0.5875 GB, free: 30 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.3535, allocations: 55.62 kB / 0.5876 GB, free: 29.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.3535, allocations: 348.5 kB / 0.5879 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.354, allocations: 233 kB / 0.5881 GB, free: 29.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.3544, allocations: 231.5 kB / 0.5884 GB, free: 29.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008672/0.3553, allocations: 0.4899 MB / 0.5888 GB, free: 29.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3553, allocations: 1.094 kB / 0.5888 GB, free: 29.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00366/0.359, allocations: 1.274 MB / 0.5901 GB, free: 28.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.359, allocations: 4.531 kB / 0.5901 GB, free: 28.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.359, allocations: 1.219 kB / 0.5901 GB, free: 28.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/0.3617, allocations: 0.7741 MB / 0.5908 GB, free: 28.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.3619, allocations: 39.69 kB / 0.5909 GB, free: 28.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/0.3669, allocations: 3.096 MB / 0.5939 GB, free: 26.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.3674, allocations: 51.69 kB / 0.594 GB, free: 26.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.3675, allocations: 10 kB / 0.594 GB, free: 26.66 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.0001751/0.3677, allocations: 154.1 kB / 0.5941 GB, free: 26.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.3677, allocations: 38.56 kB / 0.5941 GB, free: 26.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.3711, allocations: 1.22 MB / 0.5953 GB, free: 26.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3712, allocations: 4.875 kB / 0.5953 GB, free: 26.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3712, allocations: 2.172 kB / 0.5953 GB, free: 26.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3712, allocations: 5.25 kB / 0.5954 GB, free: 26.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.3717, allocations: 0.5288 MB / 0.5959 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3718, allocations: 4.656 kB / 0.5959 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.372, allocations: 39.36 kB / 0.5959 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.374, allocations: 0.62 MB / 0.5965 GB, free: 25.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.374, allocations: 10.28 kB / 0.5965 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003556/0.3776, allocations: 2.55 MB / 0.599 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3776, allocations: 0 / 0.599 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.3814, allocations: 1.578 MB / 0.6006 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3815, allocations: 125.5 kB / 0.6007 GB, free: 23.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.3816, allocations: 10.56 kB / 0.6007 GB, free: 23.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.382, allocations: 35.09 kB / 0.6007 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.3822, allocations: 87.42 kB / 0.6008 GB, free: 23.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.3823, allocations: 11.95 kB / 0.6008 GB, free: 23.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.3826, allocations: 289.2 kB / 0.6011 GB, free: 22.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.3826, allocations: 3.938 kB / 0.6011 GB, free: 22.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.3831, allocations: 145.1 kB / 0.6012 GB, free: 22.89 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.0001358/0.3832, allocations: 110.4 kB / 0.6013 GB, free: 22.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.3856, allocations: 1.1 MB / 0.6024 GB, free: 22.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3857, allocations: 0 / 0.6024 GB, free: 22.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.3871, allocations: 0.7254 MB / 0.6031 GB, free: 21.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3875, allocations: 34.14 kB / 0.6032 GB, free: 21.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.3888, allocations: 0.8348 MB / 0.604 GB, free: 21.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.3891, allocations: 0.8109 MB / 0.6048 GB, free: 20.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.3892, allocations: 28.88 kB / 0.6048 GB, free: 20.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.3893, allocations: 25.61 kB / 0.6048 GB, free: 20.51 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3893, allocations: 1.531 kB / 0.6048 GB, free: 20.51 MB / 430.1 MB Notification: Performance of Templates: time 0.01331/0.4026, allocations: 8.353 MB / 0.613 GB, free: 18.67 MB / 430.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)