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.001052/0.001052, allocations: 92.75 kB / 16.67 MB, free: 6.105 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.001232/0.001232, allocations: 177.1 kB / 17.57 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.2748/0.2748, allocations: 43.6 MB / 315.6 MB, free: 412 kB / 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.0005695/0.0005695, allocations: 18.12 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1423, allocations: 58.87 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.01203/0.1544, allocations: 10.93 MB / 455 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009969/0.1644, allocations: 3.876 MB / 458.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.1672, allocations: 63.62 kB / 459 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.1701, allocations: 0.7457 MB / 459.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004064/0.1742, allocations: 0.8587 MB / 460.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.1758, allocations: 467.5 kB / 461 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005403/0.1812, allocations: 3.64 MB / 464.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003336/0.1845, allocations: 2.498 MB / 467.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.1869, allocations: 1.143 MB / 468.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.1892, allocations: 1.653 MB / 470 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003225/0.1895, allocations: 172 kB / 470.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007854/0.1903, allocations: 295.8 kB / 470.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009476/0.1913, allocations: 0.9226 MB / 471.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.1929, allocations: 1.567 MB / 472.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004236/0.1971, allocations: 4.472 MB / 477.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1971, allocations: 0 / 477.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1971, allocations: 0 / 477.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.303e-05/0.1972, allocations: 0 / 477.4 MB, free: 3.691 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.006946/0.2042, allocations: 3.202 MB / 480.6 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.2042, allocations: 16.03 kB / 480.6 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.2053, allocations: 392.5 kB / 481 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.2085, allocations: 1.942 MB / 482.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.2087, allocations: 230 kB / 483.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004394/0.2092, allocations: 287.8 kB / 483.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006897/0.2161, allocations: 3.735 MB / 487.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.929e-05/0.2162, allocations: 11.91 kB / 487.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.2165, allocations: 116 kB / 487.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.2166, allocations: 141.5 kB / 487.4 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005861/0.2225, allocations: 3.172 MB / 490.6 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02057/0.2431, allocations: 11.61 MB / 0.4904 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004043/0.2472, allocations: 2.186 MB / 0.4926 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/0.2492, allocations: 1.238 MB / 0.4938 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.2496, allocations: 211.5 kB / 0.494 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.2497, allocations: 51.86 kB / 0.494 GB, free: 6.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=139): time 3.456e-06/0.2497, allocations: 0 / 0.494 GB, free: 6.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01959/0.2693, allocations: 8.283 MB / 0.5021 GB, free: 14.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.2694, allocations: 64.72 kB / 0.5022 GB, free: 14.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/0.2727, allocations: 1.941 MB / 0.5041 GB, free: 12.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.2729, allocations: 49.7 kB / 0.5041 GB, free: 12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.2741, allocations: 1.359 MB / 0.5055 GB, free: 10.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005292/0.2746, allocations: 0.5275 MB / 0.506 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.2749, allocations: 149.6 kB / 0.5061 GB, free: 9.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.275, allocations: 305.1 kB / 0.5064 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.2764, allocations: 0.8784 MB / 0.5073 GB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.2782, allocations: 1.353 MB / 0.5086 GB, free: 7.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003326/0.2816, allocations: 2.386 MB / 0.5109 GB, free: 4.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.2816, allocations: 4 kB / 0.5109 GB, free: 4.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005455/0.287, allocations: 2.936 MB / 0.5138 GB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.2871, allocations: 16.03 kB / 0.5138 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.2871, allocations: 12 kB / 0.5138 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009235/0.2881, allocations: 391 kB / 0.5142 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.2897, allocations: 451.3 kB / 0.5146 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006088/0.2958, allocations: 6.218 MB / 0.5207 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.2977, allocations: 131.9 kB / 0.5208 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.2979, allocations: 75.92 kB / 0.5209 GB, free: 9.961 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.001941/0.2998, allocations: 0.9031 MB / 0.5218 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005288/0.3004, allocations: 205.5 kB / 0.522 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005214/0.3056, allocations: 2.911 MB / 0.5248 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.3056, allocations: 16 kB / 0.5248 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3056, allocations: 8 kB / 0.5248 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.3057, allocations: 7.969 kB / 0.5248 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3401/0.6457, allocations: 6.173 MB / 0.5309 GB, free: 84.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/0.6458, allocations: 3 kB / 0.5309 GB, free: 84.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/0.6477, allocations: 242.5 kB / 0.5311 GB, free: 84.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002664/0.6504, allocations: 0.7997 MB / 0.5319 GB, free: 84.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.6507, allocations: 39.06 kB / 0.5319 GB, free: 84.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/0.6644, allocations: 9.847 MB / 0.5415 GB, free: 79.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.6645, allocations: 3.906 kB / 0.5415 GB, free: 79.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008531/0.673, allocations: 4.187 MB / 0.5456 GB, free: 78.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/0.6746, allocations: 493.8 kB / 0.5461 GB, free: 78.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.6749, allocations: 39.06 kB / 0.5461 GB, free: 78.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.6761, allocations: 102 kB / 0.5462 GB, free: 78.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004443/0.6766, allocations: 127.5 kB / 0.5463 GB, free: 78.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.6767, allocations: 44.16 kB / 0.5464 GB, free: 78.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002649/0.6794, allocations: 1.334 MB / 0.5477 GB, free: 77.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6794, allocations: 3.938 kB / 0.5477 GB, free: 77.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002853/0.6822, allocations: 0.5721 MB / 0.5483 GB, free: 77.46 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.0005016/0.6827, allocations: 203.1 kB / 0.5484 GB, free: 77.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005118/0.6879, allocations: 2.637 MB / 0.551 GB, free: 76.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.6879, allocations: 3.969 kB / 0.551 GB, free: 76.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002627/0.6905, allocations: 1.642 MB / 0.5526 GB, free: 75.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/0.6949, allocations: 0.5073 MB / 0.5531 GB, free: 75.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.706, allocations: 7.25 MB / 0.5602 GB, free: 70.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.708, allocations: 2.184 MB / 0.5623 GB, free: 69.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009824/0.709, allocations: 168.2 kB / 0.5625 GB, free: 69.95 MB / 414.1 MB Notification: Performance of SimCode: time 1.543e-06/0.709, allocations: 0 / 0.5625 GB, free: 69.95 MB / 414.1 MB Notification: Performance of Templates: time 0.1024/0.8114, allocations: 84.57 MB / 0.6451 GB, free: 1.359 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