Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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) 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(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 107.8 kB / 17.81 MB, free: 5.559 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.001694/0.001695, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.076/2.076, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.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.001316/0.001316, allocations: 47.94 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1556, allocations: 46.61 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource): time 0.0225/0.1782, allocations: 15.65 MB / 342.9 MB, free: 5.172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.1937, allocations: 5.323 MB / 348.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005817/0.1996, allocations: 87.62 kB / 348.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005364/0.205, allocations: 0.9637 MB / 349.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007493/0.2126, allocations: 1.224 MB / 350.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.2167, allocations: 0.8772 MB / 351.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01001/0.2267, allocations: 4.08 MB / 355.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005436/0.2322, allocations: 2.997 MB / 358.4 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.2359, allocations: 1.572 MB / 360 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004855/0.2408, allocations: 2.121 MB / 362.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001376/0.2422, allocations: 320 kB / 362.5 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.2446, allocations: 0.5349 MB / 363 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.246, allocations: 1.059 MB / 364 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004211/0.2503, allocations: 2.025 MB / 366.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008357/0.2586, allocations: 5.729 MB / 371.8 MB, free: 8.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2587, allocations: 0 / 371.8 MB, free: 8.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2587, allocations: 0 / 371.8 MB, free: 8.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003/0.259, allocations: 4 kB / 371.8 MB, free: 8.109 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.01747/0.2765, allocations: 4.653 MB / 376.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.483e-05/0.2766, allocations: 8.031 kB / 376.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/0.2807, allocations: 0.6792 MB / 377.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006963/0.2877, allocations: 2.342 MB / 379.5 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.2881, allocations: 263.5 kB / 379.7 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3494/0.6375, allocations: 344.6 kB / 380.1 MB, free: 49.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02295/0.6606, allocations: 4.457 MB / 384.5 MB, free: 48.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004039/0.6611, allocations: 9.734 kB / 384.5 MB, free: 48.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001927/0.663, allocations: 144.6 kB / 384.7 MB, free: 47.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006223/0.6637, allocations: 167 kB / 384.9 MB, free: 47.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.6806, allocations: 3.731 MB / 388.6 MB, free: 46.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04242/0.7231, allocations: 14.5 MB / 403.1 MB, free: 36.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006436/0.7296, allocations: 5.366 MB / 408.5 MB, free: 31.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/0.7324, allocations: 1.268 MB / 409.7 MB, free: 31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00884/0.7413, allocations: 3.804 MB / 413.5 MB, free: 27.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/0.7414, allocations: 47.88 kB / 413.6 MB, free: 27.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=127): time 5.44e-06/0.7414, allocations: 4 kB / 413.6 MB, free: 27.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01218/0.7536, allocations: 5.463 MB / 419 MB, free: 21.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.7537, allocations: 76.48 kB / 419.1 MB, free: 21.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005422/0.7591, allocations: 2.098 MB / 421.2 MB, free: 19.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.7593, allocations: 47.95 kB / 421.3 MB, free: 19.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.7607, allocations: 1.652 MB / 422.9 MB, free: 17.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/0.7612, allocations: 472.4 kB / 423.4 MB, free: 17.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006517/0.7619, allocations: 339.1 kB / 423.7 MB, free: 16.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.762, allocations: 305.1 kB / 424 MB, free: 16.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.7632, allocations: 0.7145 MB / 424.7 MB, free: 15.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.7648, allocations: 1.353 MB / 426.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.7678, allocations: 2.226 MB / 428.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.874e-05/0.7679, allocations: 4 kB / 428.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004603/0.7725, allocations: 2.513 MB / 430.8 MB, free: 9.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.7726, allocations: 12 kB / 430.8 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.452e-05/0.7726, allocations: 20 kB / 430.8 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.7732, allocations: 142.8 kB / 431 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.7748, allocations: 467.3 kB / 431.4 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.7776, allocations: 3.079 MB / 434.5 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.7799, allocations: 111.8 kB / 434.6 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.7801, allocations: 83.98 kB / 434.7 MB, free: 4.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (227): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002653/0.7828, allocations: 1.059 MB / 435.8 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008478/0.7836, allocations: 213.3 kB / 436 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.7877, allocations: 2.177 MB / 438.2 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.7877, allocations: 16 kB / 438.2 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/0.7878, allocations: 8 kB / 438.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.7878, allocations: 3.984 kB / 438.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.8005, allocations: 5.168 MB / 443.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/0.8005, allocations: 4 kB / 443.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.8016, allocations: 235.6 kB / 443.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009008/0.8026, allocations: 271.2 kB / 443.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.8027, allocations: 35.98 kB / 443.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009562/0.8123, allocations: 7.099 MB / 451 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.8123, allocations: 5.094 kB / 451 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007309/0.8196, allocations: 3.175 MB / 454.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/0.8217, allocations: 450.6 kB / 454.6 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/0.8227, allocations: 28 kB / 454.6 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.8245, allocations: 75.92 kB / 454.7 MB, free: 0 / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003772/0.8249, allocations: 100.7 kB / 454.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.825, allocations: 32 kB / 454.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004742/0.8298, allocations: 1.435 MB / 456.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8298, allocations: 0 / 456.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004045/0.8339, allocations: 0.5623 MB / 456.8 MB, free: 13.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smpm.inertiaRotor.w,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006157/0.8345, allocations: 153.2 kB / 457 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005334/0.8399, allocations: 2.096 MB / 459.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.8399, allocations: 4.062 kB / 459.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002963/0.8429, allocations: 1.378 MB / 460.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004789/0.8477, allocations: 0.5219 MB / 461 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.8678, allocations: 7.631 MB / 468.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005107/0.873, allocations: 2.361 MB / 471 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/0.8743, allocations: 175.4 kB / 471.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.185e-06/0.8743, allocations: 0 / 471.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of Templates: time 0.387/1.261, allocations: 99.59 MB / 0.5574 GB, free: 113.2 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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 OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSourceCalcHelperMain.o] Error 1