Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.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/Complex 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") translateModel(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 87.7 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001165, allocations: 186.4 kB / 18.52 MB, free: 5.32 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.495/1.495, allocations: 223.2 MB / 242.5 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 44.23 MB / 337.9 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004456, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1486, allocations: 61.93 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.01211/0.1608, allocations: 10.3 MB / 482.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008491/0.1693, allocations: 3.666 MB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.1714, allocations: 67.69 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.1734, allocations: 0.6794 MB / 486.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002774/0.1762, allocations: 0.8041 MB / 487.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1773, allocations: 335.5 kB / 488 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004339/0.1817, allocations: 3.301 MB / 491.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003126/0.1848, allocations: 2.12 MB / 493.4 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.1873, allocations: 1.12 MB / 494.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.1899, allocations: 1.588 MB / 496.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003688/0.1902, allocations: 171.9 kB / 496.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007661/0.191, allocations: 247.9 kB / 496.6 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00098/0.192, allocations: 0.9151 MB / 497.5 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008997/0.1929, allocations: 0.6289 MB / 498.1 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004689/0.1976, allocations: 4.465 MB / 0.4908 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1976, allocations: 0 / 0.4908 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1977, allocations: 0 / 0.4908 GB, free: 15.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001031/0.1978, allocations: 0 / 0.4908 GB, free: 15.21 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.006641/0.2044, allocations: 3.27 MB / 0.494 GB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2045, allocations: 8.031 kB / 0.494 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009645/0.2054, allocations: 391.6 kB / 0.4944 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.2085, allocations: 1.966 MB / 0.4963 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.2087, allocations: 217.6 kB / 0.4965 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003923/0.2091, allocations: 287.9 kB / 0.4968 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006095/0.2152, allocations: 3.715 MB / 0.5004 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.507e-05/0.2153, allocations: 11.91 kB / 0.5004 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.2156, allocations: 112 kB / 0.5005 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.2157, allocations: 149.4 kB / 0.5007 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005901/0.2216, allocations: 3.16 MB / 0.5037 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3735/0.5951, allocations: 11.59 MB / 0.5151 GB, free: 40.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004827/0.6001, allocations: 2.174 MB / 0.5172 GB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/0.603, allocations: 1.247 MB / 0.5184 GB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/0.6034, allocations: 209.9 kB / 0.5186 GB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.6035, allocations: 49.95 kB / 0.5187 GB, free: 38.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=139): time 4.678e-06/0.6035, allocations: 1.438 kB / 0.5187 GB, free: 38.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01866/0.6222, allocations: 7.879 MB / 0.5264 GB, free: 34.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.6223, allocations: 76.44 kB / 0.5264 GB, free: 34.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.6255, allocations: 1.926 MB / 0.5283 GB, free: 33.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.6257, allocations: 51.86 kB / 0.5284 GB, free: 33.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.6267, allocations: 1.361 MB / 0.5297 GB, free: 32.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004739/0.6272, allocations: 0.5249 MB / 0.5302 GB, free: 31.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.6273, allocations: 31.97 kB / 0.5302 GB, free: 31.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6275, allocations: 377.5 kB / 0.5306 GB, free: 31.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.6289, allocations: 0.8815 MB / 0.5314 GB, free: 31.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.6304, allocations: 1.354 MB / 0.5328 GB, free: 30.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.6318, allocations: 1.092 MB / 0.5338 GB, free: 29.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.6318, allocations: 3.969 kB / 0.5338 GB, free: 29.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004831/0.6367, allocations: 2.926 MB / 0.5367 GB, free: 27.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.6367, allocations: 11.95 kB / 0.5367 GB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.6368, allocations: 16 kB / 0.5367 GB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008869/0.6377, allocations: 384.4 kB / 0.5371 GB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.6392, allocations: 451.2 kB / 0.5375 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004821/0.6441, allocations: 6.193 MB / 0.5436 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/0.6461, allocations: 123.9 kB / 0.5437 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.6463, allocations: 71.98 kB / 0.5438 GB, free: 19.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (206): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 9,(1,100.0%) 2,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001944/0.6482, allocations: 0.8994 MB / 0.5446 GB, free: 18.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006176/0.6488, allocations: 209.4 kB / 0.5448 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/0.6535, allocations: 2.914 MB / 0.5477 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.6535, allocations: 19.84 kB / 0.5477 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.6535, allocations: 8 kB / 0.5477 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.6536, allocations: 7.969 kB / 0.5477 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009484/0.663, allocations: 6.152 MB / 0.5537 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.6631, allocations: 7.984 kB / 0.5537 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009409/0.664, allocations: 240 kB / 0.554 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.6658, allocations: 0.806 MB / 0.5547 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.6659, allocations: 39.97 kB / 0.5548 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.6762, allocations: 9.835 MB / 0.5644 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.6762, allocations: 4 kB / 0.5644 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007594/0.6838, allocations: 4.173 MB / 0.5685 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.6854, allocations: 490.3 kB / 0.5689 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.6857, allocations: 39.94 kB / 0.569 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.6868, allocations: 99.89 kB / 0.5691 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/0.6871, allocations: 121.1 kB / 0.5692 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.6872, allocations: 51.94 kB / 0.5692 GB, free: 8.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002329/0.6896, allocations: 1.325 MB / 0.5705 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.783e-06/0.6896, allocations: 0 / 0.5705 GB, free: 7.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002769/0.6924, allocations: 0.5825 MB / 0.5711 GB, free: 6.852 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,dqCurrentController.PI_d.x,dqCurrentController.PI_q.x) * 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 (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 9,(1,100.0%) 2,(5,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000425/0.6928, allocations: 159.8 kB / 0.5712 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004391/0.6972, allocations: 2.632 MB / 0.5738 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.6972, allocations: 112 / 0.5738 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.6997, allocations: 1.646 MB / 0.5754 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/0.7027, allocations: 0.5048 MB / 0.5759 GB, free: 1.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.715, allocations: 6.914 MB / 0.5827 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/0.7173, allocations: 2.186 MB / 0.5848 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.7183, allocations: 171.3 kB / 0.585 GB, free: 8.438 MB / 414.1 MB Notification: Performance of SimCode: time 1.423e-06/0.7183, allocations: 0 / 0.585 GB, free: 8.438 MB / 414.1 MB Notification: Performance of Templates: time 0.1152/0.8335, allocations: 84.69 MB / 0.6677 GB, free: 3.77 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.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 OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLossesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLossesCalcHelperMain.o] Error 1