Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="ModelicaTest_3.2.3_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.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="ModelicaTest_3.2.3_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.001441/0.001441, allocations: 104.1 kB / 16.52 MB, free: 6.266 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.001696/0.001696, allocations: 195.2 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2664/0.2664, allocations: 43.51 MB / 314.1 MB, free: 0.7461 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 67.5 kB / 382.7 MB, free: 57.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.159, allocations: 57.78 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.01343/0.1724, allocations: 11.53 MB / 452 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008904/0.1814, allocations: 3.919 MB / 455.9 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.1826, allocations: 59.69 kB / 456 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.1846, allocations: 0.7497 MB / 456.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.1874, allocations: 0.8549 MB / 457.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.189, allocations: 475.5 kB / 458 MB, free: 5.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004667/0.1937, allocations: 3.637 MB / 461.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00422/0.1979, allocations: 2.525 MB / 464.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.2005, allocations: 1.35 MB / 465.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.2033, allocations: 1.915 MB / 467.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004432/0.2037, allocations: 264 kB / 467.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009259/0.2047, allocations: 383.7 kB / 468.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.2058, allocations: 1.059 MB / 469.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.2078, allocations: 1.71 MB / 470.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.2119, allocations: 4.587 MB / 475.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.2119, allocations: 0 / 475.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2119, allocations: 0 / 475.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.119e-05/0.212, allocations: 0 / 475.5 MB, free: 4.328 MB / 350.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.008391/0.2204, allocations: 3.825 MB / 479.3 MB, free: 444 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.714e-05/0.2204, allocations: 8.031 kB / 479.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.2215, allocations: 392.5 kB / 479.7 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/0.225, allocations: 1.946 MB / 481.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.2252, allocations: 218 kB / 481.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004266/0.2256, allocations: 287.9 kB / 482.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007951/0.2336, allocations: 3.735 MB / 485.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-05/0.2337, allocations: 7.906 kB / 485.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/0.234, allocations: 112 kB / 486 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/0.2342, allocations: 141.5 kB / 486.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006257/0.2405, allocations: 3.168 MB / 489.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02129/0.2618, allocations: 11.58 MB / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003948/0.2658, allocations: 2.163 MB / 0.4912 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.2678, allocations: 1.238 MB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/0.2682, allocations: 211.5 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.2682, allocations: 59.81 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=139): time 3.317e-06/0.2682, allocations: 0 / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01938/0.2876, allocations: 8.211 MB / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.2877, allocations: 64.72 kB / 0.5008 GB, free: 14.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.2912, allocations: 1.937 MB / 0.5027 GB, free: 12.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.2914, allocations: 53.7 kB / 0.5027 GB, free: 12.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.2926, allocations: 1.366 MB / 0.504 GB, free: 10.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005469/0.2931, allocations: 0.5237 MB / 0.5046 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005776/0.2937, allocations: 323.3 kB / 0.5049 GB, free: 9.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2939, allocations: 301.1 kB / 0.5052 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.2954, allocations: 0.8784 MB / 0.506 GB, free: 8.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.2973, allocations: 1.345 MB / 0.5073 GB, free: 7.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.3008, allocations: 2.382 MB / 0.5096 GB, free: 4.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.3008, allocations: 4 kB / 0.5097 GB, free: 4.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00532/0.3062, allocations: 2.928 MB / 0.5125 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3062, allocations: 8.625 kB / 0.5125 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.3062, allocations: 19.94 kB / 0.5125 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009148/0.3072, allocations: 387.6 kB / 0.5129 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.3088, allocations: 447.2 kB / 0.5133 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006639/0.3155, allocations: 6.21 MB / 0.5194 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.3175, allocations: 123.8 kB / 0.5195 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.3177, allocations: 75.98 kB / 0.5196 GB, free: 10 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(2,9,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002183/0.3199, allocations: 0.8993 MB / 0.5205 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005363/0.3204, allocations: 213.5 kB / 0.5207 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005613/0.3261, allocations: 2.899 MB / 0.5235 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3261, allocations: 16 kB / 0.5235 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.3261, allocations: 8 kB / 0.5235 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.3261, allocations: 7.969 kB / 0.5235 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.347/0.6731, allocations: 6.164 MB / 0.5296 GB, free: 85.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/0.6732, allocations: 5.141 kB / 0.5296 GB, free: 85.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.6746, allocations: 239.9 kB / 0.5298 GB, free: 85.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/0.6772, allocations: 0.7936 MB / 0.5306 GB, free: 85.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.6774, allocations: 46.39 kB / 0.5306 GB, free: 85.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/0.6905, allocations: 9.823 MB / 0.5402 GB, free: 81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.6906, allocations: 5.5 kB / 0.5402 GB, free: 81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00755/0.6982, allocations: 4.19 MB / 0.5443 GB, free: 79.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.6995, allocations: 481.3 kB / 0.5448 GB, free: 79.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.6998, allocations: 40.52 kB / 0.5448 GB, free: 79.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.7009, allocations: 93.81 kB / 0.5449 GB, free: 79.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004043/0.7013, allocations: 123.6 kB / 0.545 GB, free: 79.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.7014, allocations: 57.97 kB / 0.5451 GB, free: 79.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002542/0.704, allocations: 1.329 MB / 0.5464 GB, free: 78.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.704, allocations: 0 / 0.5464 GB, free: 78.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002893/0.7069, allocations: 0.5761 MB / 0.5469 GB, free: 78.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.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 (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,9,100.0%), (1,2,100.0%), (5,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004532/0.7074, allocations: 204 kB / 0.5471 GB, free: 78.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004113/0.7115, allocations: 2.629 MB / 0.5497 GB, free: 77.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.7115, allocations: 0 / 0.5497 GB, free: 77.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002304/0.7138, allocations: 1.64 MB / 0.5513 GB, free: 76.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.7164, allocations: 0.499 MB / 0.5518 GB, free: 76.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.7271, allocations: 7.147 MB / 0.5587 GB, free: 72.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.7288, allocations: 2.181 MB / 0.5609 GB, free: 70.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007568/0.7296, allocations: 166.5 kB / 0.561 GB, free: 70.68 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.7296, allocations: 4 kB / 0.561 GB, free: 70.68 MB / 414.1 MB Notification: Performance of Templates: time 0.09606/0.8256, allocations: 84.99 MB / 0.644 GB, free: 1.672 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLossesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLossesCalcHelperMain.o] Error 1