Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 88.22 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 197.2 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2498/0.2498, allocations: 45.91 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 4 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1525, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.0124/0.165, allocations: 10.34 MB / 492.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008661/0.1737, allocations: 3.725 MB / 496.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.1759, allocations: 63.69 kB / 496.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.1782, allocations: 0.6872 MB / 496.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003409/0.1816, allocations: 0.808 MB / 497.7 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1829, allocations: 339.5 kB / 498.1 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004685/0.1876, allocations: 3.308 MB / 0.4896 GB, free: 2.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.1907, allocations: 2.109 MB / 0.4917 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.1936, allocations: 1.14 MB / 0.4928 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.1961, allocations: 1.58 MB / 0.4943 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003584/0.1965, allocations: 168 kB / 0.4945 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008748/0.1974, allocations: 263.8 kB / 0.4947 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.1984, allocations: 0.9073 MB / 0.4956 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.1995, allocations: 0.6328 MB / 0.4963 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004817/0.2043, allocations: 4.484 MB / 0.5006 GB, free: 6.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2043, allocations: 0 / 0.5006 GB, free: 6.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.2043, allocations: 0 / 0.5006 GB, free: 6.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001367/0.2045, allocations: 0 / 0.5006 GB, free: 6.742 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.007513/0.212, allocations: 3.268 MB / 0.5038 GB, free: 3.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2121, allocations: 12.03 kB / 0.5038 GB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.2133, allocations: 399.5 kB / 0.5042 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.217, allocations: 1.954 MB / 0.5061 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.2172, allocations: 229.7 kB / 0.5063 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.2176, allocations: 283.9 kB / 0.5066 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3538/0.5714, allocations: 3.713 MB / 0.5102 GB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.5716, allocations: 7.609 kB / 0.5102 GB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/0.5719, allocations: 115.4 kB / 0.5104 GB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002671/0.5721, allocations: 144.5 kB / 0.5105 GB, free: 36.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008062/0.5802, allocations: 3.161 MB / 0.5136 GB, free: 35.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.6028, allocations: 11.62 MB / 0.5249 GB, free: 29.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/0.6067, allocations: 2.168 MB / 0.527 GB, free: 28.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.6089, allocations: 1.239 MB / 0.5283 GB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/0.6093, allocations: 210 kB / 0.5285 GB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.6093, allocations: 55.77 kB / 0.5285 GB, free: 27.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=139): time 4.849e-06/0.6093, allocations: 0 / 0.5285 GB, free: 27.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01644/0.6258, allocations: 7.881 MB / 0.5362 GB, free: 22.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.6259, allocations: 67.88 kB / 0.5363 GB, free: 22.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/0.6286, allocations: 1.93 MB / 0.5382 GB, free: 20.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.725e-05/0.6287, allocations: 53.7 kB / 0.5382 GB, free: 20.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008923/0.6296, allocations: 1.364 MB / 0.5395 GB, free: 19.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/0.63, allocations: 0.5219 MB / 0.54 GB, free: 19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.582e-05/0.6301, allocations: 36 kB / 0.5401 GB, free: 18.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6302, allocations: 373.9 kB / 0.5404 GB, free: 18.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.6314, allocations: 0.894 MB / 0.5413 GB, free: 17.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.6327, allocations: 1.339 MB / 0.5426 GB, free: 16.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.6341, allocations: 1.092 MB / 0.5437 GB, free: 15.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.6341, allocations: 7.984 kB / 0.5437 GB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00382/0.6379, allocations: 2.93 MB / 0.5466 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.638, allocations: 8 kB / 0.5466 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.638, allocations: 16 kB / 0.5466 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007234/0.6387, allocations: 387.1 kB / 0.5469 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.6401, allocations: 455.2 kB / 0.5474 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.6445, allocations: 6.185 MB / 0.5534 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.6459, allocations: 135.8 kB / 0.5535 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.6461, allocations: 68 kB / 0.5536 GB, free: 4.469 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.001578/0.6476, allocations: 0.9077 MB / 0.5545 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/0.648, allocations: 213.5 kB / 0.5547 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/0.6523, allocations: 2.919 MB / 0.5576 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.6524, allocations: 15.94 kB / 0.5576 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.6524, allocations: 8 kB / 0.5576 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.6524, allocations: 11.91 kB / 0.5576 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.6631, allocations: 6.145 MB / 0.5636 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.6631, allocations: 4 kB / 0.5636 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009997/0.6641, allocations: 239.6 kB / 0.5638 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.6661, allocations: 0.8022 MB / 0.5646 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.6662, allocations: 39.98 kB / 0.5646 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.6777, allocations: 9.841 MB / 0.5743 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6778, allocations: 4 kB / 0.5743 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006735/0.6845, allocations: 4.173 MB / 0.5783 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.6856, allocations: 494.5 kB / 0.5788 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.6858, allocations: 43.97 kB / 0.5788 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009637/0.6868, allocations: 95.89 kB / 0.5789 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/0.6871, allocations: 129 kB / 0.5791 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-05/0.6872, allocations: 43.98 kB / 0.5791 GB, free: 9.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00223/0.6894, allocations: 1.333 MB / 0.5804 GB, free: 8.379 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6894, allocations: 0 / 0.5804 GB, free: 8.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002113/0.6915, allocations: 0.5731 MB / 0.581 GB, free: 7.809 MB / 414.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.0003443/0.6919, allocations: 163.9 kB / 0.5811 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004236/0.6961, allocations: 2.635 MB / 0.5837 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6962, allocations: 0 / 0.5837 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002419/0.6986, allocations: 1.628 MB / 0.5853 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.7012, allocations: 0.5309 MB / 0.5858 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.7122, allocations: 6.898 MB / 0.5925 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/0.7144, allocations: 2.19 MB / 0.5947 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007727/0.7151, allocations: 167.3 kB / 0.5948 GB, free: 9.398 MB / 430.1 MB Notification: Performance of SimCode: time 1.113e-06/0.7151, allocations: 0 / 0.5948 GB, free: 9.398 MB / 430.1 MB Notification: Performance of Templates: time 0.1181/0.8333, allocations: 84.81 MB / 0.6777 GB, free: 4.59 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLossesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLossesCalcHelperMain.o] Error 1