Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.0009261, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.3 MB / 239.7 MB, free: 5.629 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.001722/0.001723, allocations: 188.5 kB / 290.9 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5862/0.5862, allocations: 78.56 MB / 420.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004202, allocations: 12 kB / 0.4887 GB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1804, allocations: 69.36 MB / 0.5564 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.377/0.5575, allocations: 2.681 MB / 0.559 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.5593, allocations: 0.9189 MB / 0.5599 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.5595, allocations: 2.531 kB / 0.5599 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.5597, allocations: 71.64 kB / 0.56 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.56, allocations: 128.3 kB / 0.5601 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.561, allocations: 375.5 kB / 0.5605 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007569/0.5617, allocations: 491.7 kB / 0.561 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.562, allocations: 73.2 kB / 0.561 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.5624, allocations: 195.4 kB / 0.5612 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.5628, allocations: 259.5 kB / 0.5615 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.5629, allocations: 25.56 kB / 0.5615 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.5631, allocations: 77.09 kB / 0.5616 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.5633, allocations: 92.02 kB / 0.5616 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.5634, allocations: 95.73 kB / 0.5617 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.5641, allocations: 444.8 kB / 0.5622 GB, free: 36.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.5642, allocations: 0 / 0.5622 GB, free: 36.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.5642, allocations: 0 / 0.5622 GB, free: 36.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.5642, allocations: 2.469 kB / 0.5622 GB, free: 36.98 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.003715/0.5679, allocations: 1.11 MB / 0.5632 GB, free: 36.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.568, allocations: 11.12 kB / 0.5633 GB, free: 36.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.5696, allocations: 272.1 kB / 0.5635 GB, free: 36.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.5703, allocations: 411.6 kB / 0.5639 GB, free: 36.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.5704, allocations: 89.16 kB / 0.564 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.5705, allocations: 29.88 kB / 0.564 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.5714, allocations: 430.3 kB / 0.5644 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5714, allocations: 2.938 kB / 0.5644 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.5715, allocations: 12.11 kB / 0.5644 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.5715, allocations: 7.781 kB / 0.5645 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.5722, allocations: 412.7 kB / 0.5649 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.5742, allocations: 1.158 MB / 0.566 GB, free: 35.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005962/0.5802, allocations: 1.841 MB / 0.5678 GB, free: 35.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/0.5808, allocations: 309.6 kB / 0.5681 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.976e-05/0.5808, allocations: 3.125 kB / 0.5681 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.5809, allocations: 34.78 kB / 0.5681 GB, free: 35.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.345e-06/0.5809, allocations: 0 / 0.5681 GB, free: 35.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005831/0.5867, allocations: 2.389 MB / 0.5704 GB, free: 35.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.5868, allocations: 65.22 kB / 0.5705 GB, free: 35.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.5873, allocations: 414.5 kB / 0.5709 GB, free: 35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.5874, allocations: 36.02 kB / 0.5709 GB, free: 34.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.5876, allocations: 214.1 kB / 0.5711 GB, free: 34.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.5877, allocations: 121.7 kB / 0.5713 GB, free: 34.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.5878, allocations: 10.62 kB / 0.5713 GB, free: 34.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5879, allocations: 352 kB / 0.5716 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.5884, allocations: 266.6 kB / 0.5719 GB, free: 34.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.5889, allocations: 262.7 kB / 0.5721 GB, free: 34.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005792/0.5895, allocations: 279.3 kB / 0.5724 GB, free: 34.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5895, allocations: 0 / 0.5724 GB, free: 34.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004026/0.5935, allocations: 1.613 MB / 0.5739 GB, free: 34.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5935, allocations: 13.97 kB / 0.574 GB, free: 34.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.5935, allocations: 0 / 0.574 GB, free: 34.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003161/0.5967, allocations: 1.01 MB / 0.5749 GB, free: 34.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.5969, allocations: 39.88 kB / 0.575 GB, free: 34.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/0.6027, allocations: 3.28 MB / 0.5782 GB, free: 32.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.6033, allocations: 69.56 kB / 0.5783 GB, free: 32.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.6034, allocations: 8.438 kB / 0.5783 GB, free: 32.8 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002867/0.6037, allocations: 147 kB / 0.5784 GB, free: 32.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.633e-05/0.6038, allocations: 45.03 kB / 0.5784 GB, free: 32.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.6076, allocations: 1.475 MB / 0.5799 GB, free: 32.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.6076, allocations: 3.25 kB / 0.5799 GB, free: 32.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6076, allocations: 2.125 kB / 0.5799 GB, free: 32.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6077, allocations: 5.062 kB / 0.5799 GB, free: 32.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008673/0.6085, allocations: 0.5508 MB / 0.5804 GB, free: 32.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6085, allocations: 0 / 0.5804 GB, free: 32.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.6088, allocations: 37.97 kB / 0.5805 GB, free: 32.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002403/0.6112, allocations: 0.7609 MB / 0.5812 GB, free: 32.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.6113, allocations: 8.625 kB / 0.5812 GB, free: 32.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00409/0.6154, allocations: 2.526 MB / 0.5837 GB, free: 30.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.6154, allocations: 0.5469 kB / 0.5837 GB, free: 30.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004641/0.6201, allocations: 1.865 MB / 0.5855 GB, free: 29.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.6203, allocations: 130.4 kB / 0.5856 GB, free: 29.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.6204, allocations: 6.219 kB / 0.5856 GB, free: 29.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.6208, allocations: 46.7 kB / 0.5857 GB, free: 29.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/0.621, allocations: 85.17 kB / 0.5858 GB, free: 29.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.6211, allocations: 12.19 kB / 0.5858 GB, free: 29.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004056/0.6215, allocations: 308.4 kB / 0.5861 GB, free: 29.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6215, allocations: 4 kB / 0.5861 GB, free: 29.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006594/0.6222, allocations: 147.8 kB / 0.5862 GB, free: 29.54 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002217/0.6224, allocations: 109.3 kB / 0.5863 GB, free: 29.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002979/0.6254, allocations: 1.219 MB / 0.5875 GB, free: 28.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6254, allocations: 0 / 0.5875 GB, free: 28.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.627, allocations: 0.8273 MB / 0.5883 GB, free: 28.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.6275, allocations: 35.23 kB / 0.5884 GB, free: 28.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.6293, allocations: 1.189 MB / 0.5895 GB, free: 27.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.6297, allocations: 0.8274 MB / 0.5903 GB, free: 26.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.6298, allocations: 25.81 kB / 0.5904 GB, free: 26.89 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6298, allocations: 0 / 0.5904 GB, free: 26.89 MB / 430.1 MB Notification: Performance of Templates: time 0.02326/0.6531, allocations: 10.79 MB / 0.6009 GB, free: 26.23 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_TestCalcHelperMain.o] Error 1