Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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(HanserModelica.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") translateModel(HanserModelica.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009318, 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.59/1.59, allocations: 223.3 MB / 239.7 MB, free: 5.633 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.001129/0.001129, allocations: 188.5 kB / 290.9 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03317/0.03317, allocations: 8.78 MB / 350.8 MB, free: 4.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004702, allocations: 10.34 kB / 413.8 MB, free: 43.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.116, allocations: 52.56 MB / 466.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01384/0.1299, allocations: 11.77 MB / 478.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009265/0.1392, allocations: 4.101 MB / 482.2 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.1417, allocations: 83.62 kB / 482.3 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002734/0.1444, allocations: 0.773 MB / 483.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.1487, allocations: 1.049 MB / 484.1 MB, free: 11.73 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/SynchronousMachines/SMR_Inverter.mo:88:3-88:33:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.1506, allocations: 0.5997 MB / 484.7 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005312/0.1559, allocations: 3.779 MB / 488.5 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.1589, allocations: 2.297 MB / 490.8 MB, free: 5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.161, allocations: 1.218 MB / 492 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.1631, allocations: 1.541 MB / 493.6 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004345/0.1635, allocations: 200 kB / 493.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.1646, allocations: 387.7 kB / 494.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006572/0.1653, allocations: 0.7123 MB / 494.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008728/0.1662, allocations: 0.707 MB / 495.6 MB, free: 232 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005261/0.1714, allocations: 5.239 MB / 0.4891 GB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1715, allocations: 0 / 0.4891 GB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.812e-06/0.1715, allocations: 4 kB / 0.4891 GB, free: 10.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000156/0.1717, allocations: 0 / 0.4891 GB, free: 10.97 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.008885/0.1806, allocations: 3.575 MB / 0.4926 GB, free: 7.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1806, allocations: 8.031 kB / 0.4926 GB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/0.1847, allocations: 0.7531 MB / 0.4933 GB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004411/0.1891, allocations: 2.164 MB / 0.4954 GB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.1893, allocations: 238.3 kB / 0.4957 GB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005252/0.1898, allocations: 315.9 kB / 0.496 GB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007778/0.1976, allocations: 4.153 MB / 0.5 GB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-05/0.1977, allocations: 0 / 0.5 GB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002835/0.198, allocations: 128 kB / 0.5001 GB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.1982, allocations: 142.3 kB / 0.5003 GB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00676/0.2049, allocations: 3.495 MB / 0.5037 GB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.227, allocations: 13.26 MB / 0.5166 GB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005814/0.2328, allocations: 5.494 MB / 0.522 GB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.2347, allocations: 1.099 MB / 0.5231 GB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00549/0.2402, allocations: 3.056 MB / 0.5261 GB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.2403, allocations: 47.56 kB / 0.5261 GB, free: 3.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 3.096e-06/0.2403, allocations: 3.938 kB / 0.5261 GB, free: 3.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=110): time 0.3241/0.5644, allocations: 4.671 MB / 0.5307 GB, free: 64.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.5645, allocations: 64.41 kB / 0.5307 GB, free: 64.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004131/0.5687, allocations: 1.593 MB / 0.5323 GB, free: 64.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003153/0.569, allocations: 43.2 kB / 0.5323 GB, free: 64.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001971/0.571, allocations: 1.42 MB / 0.5337 GB, free: 63.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007729/0.5718, allocations: 394.5 kB / 0.5341 GB, free: 63.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.5719, allocations: 27.53 kB / 0.5341 GB, free: 63.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5721, allocations: 365.2 kB / 0.5345 GB, free: 63.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.5736, allocations: 0.5707 MB / 0.535 GB, free: 63.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.5754, allocations: 1.061 MB / 0.5361 GB, free: 62.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.5774, allocations: 0.7723 MB / 0.5368 GB, free: 62.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.5774, allocations: 4.406 kB / 0.5368 GB, free: 62.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004289/0.5817, allocations: 2.038 MB / 0.5388 GB, free: 62.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.5818, allocations: 17.61 kB / 0.5388 GB, free: 62.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.5818, allocations: 17.81 kB / 0.5388 GB, free: 62.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/0.5822, allocations: 142.5 kB / 0.539 GB, free: 62.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.5837, allocations: 367.3 kB / 0.5393 GB, free: 62.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.5862, allocations: 3.078 MB / 0.5423 GB, free: 59.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.5877, allocations: 80.83 kB / 0.5424 GB, free: 59.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.5878, allocations: 67.19 kB / 0.5425 GB, free: 59.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (185): * Single equations (assignments): 182 * 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: 2 * 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: 2 {(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002149/0.59, allocations: 0.9596 MB / 0.5434 GB, free: 59.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/0.5905, allocations: 169.4 kB / 0.5436 GB, free: 59.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/0.5944, allocations: 1.825 MB / 0.5454 GB, free: 58.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.5945, allocations: 10.25 kB / 0.5454 GB, free: 58.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.5945, allocations: 5.062 kB / 0.5454 GB, free: 58.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.5945, allocations: 5.953 kB / 0.5454 GB, free: 58.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007802/0.6023, allocations: 4.365 MB / 0.5496 GB, free: 56.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.6024, allocations: 6.281 kB / 0.5496 GB, free: 56.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008252/0.6032, allocations: 182.6 kB / 0.5498 GB, free: 56.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007895/0.604, allocations: 308 kB / 0.5501 GB, free: 56.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/0.6041, allocations: 33.78 kB / 0.5501 GB, free: 56.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006313/0.6104, allocations: 7.48 MB / 0.5574 GB, free: 50.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6105, allocations: 6.594 kB / 0.5575 GB, free: 50.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00387/0.6143, allocations: 2.577 MB / 0.56 GB, free: 48.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009662/0.6153, allocations: 371.5 kB / 0.5603 GB, free: 48.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.6155, allocations: 28.61 kB / 0.5603 GB, free: 48.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/0.6162, allocations: 66.8 kB / 0.5604 GB, free: 48.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.6165, allocations: 78.33 kB / 0.5605 GB, free: 48.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.6165, allocations: 36.78 kB / 0.5605 GB, free: 48.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001633/0.6182, allocations: 1.076 MB / 0.5616 GB, free: 47.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.6182, allocations: 4 kB / 0.5616 GB, free: 47.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002377/0.6206, allocations: 0.5178 MB / 0.5621 GB, free: 47.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smr.inertiaRotor.w,smr.stator.zeroInductor.i0,smr.stator.core.Phi.re,smr.stator.core.Phi.im,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,vfController.x,loadInertia.phi) * 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 (86): * Single equations (assignments): 82 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003171/0.6209, allocations: 145 kB / 0.5622 GB, free: 47.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002774/0.6237, allocations: 1.719 MB / 0.5639 GB, free: 46.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6237, allocations: 0 / 0.5639 GB, free: 46.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.6253, allocations: 1.238 MB / 0.5651 GB, free: 45.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.6273, allocations: 490.5 kB / 0.5656 GB, free: 45.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008981/0.6363, allocations: 6.539 MB / 0.572 GB, free: 40.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.6379, allocations: 2.172 MB / 0.5741 GB, free: 38.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/0.6385, allocations: 127.4 kB / 0.5742 GB, free: 38.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.803e-06/0.6385, allocations: 4 kB / 0.5742 GB, free: 38.34 MB / 366.1 MB Notification: Performance of Templates: time 0.1125/0.751, allocations: 89.7 MB / 0.6618 GB, free: 12.64 MB / 430.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.makefile make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.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 OMCppHanserModelica_HanserModelica.SynchronousMachines.SMR_InverterCalcHelperMain.o OMCppHanserModelica_HanserModelica.SynchronousMachines.SMR_InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.SynchronousMachines.SMR_InverterCalcHelperMain.o] Error 1