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.0009101/0.0009102, allocations: 94.39 kB / 17.58 MB, free: 5.797 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.00121/0.00121, allocations: 182.2 kB / 18.48 MB, free: 5.254 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.762/1.762, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004524/0.0004524, allocations: 8 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1061, allocations: 47.58 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource): time 0.01518/0.1213, allocations: 13.91 MB / 342.9 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.1332, allocations: 5.026 MB / 347.9 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.1364, allocations: 87.56 kB / 348 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003162/0.1396, allocations: 0.8427 MB / 348.9 MB, free: 124 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004457/0.1441, allocations: 1.103 MB / 350 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.1463, allocations: 0.647 MB / 350.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005569/0.1518, allocations: 3.83 MB / 354.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00343/0.1553, allocations: 2.528 MB / 357 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.1576, allocations: 1.299 MB / 358.3 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.1603, allocations: 1.739 MB / 360 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004564/0.1608, allocations: 204 kB / 360.2 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.1621, allocations: 415.7 kB / 360.6 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008212/0.1629, allocations: 0.8876 MB / 361.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.1639, allocations: 0.7575 MB / 362.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005613/0.1695, allocations: 5.567 MB / 367.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1696, allocations: 4 kB / 367.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1696, allocations: 0 / 367.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001905/0.1698, allocations: 0 / 367.8 MB, free: 13.04 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.009485/0.1793, allocations: 3.963 MB / 371.8 MB, free: 9.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1793, allocations: 8.031 kB / 371.8 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/0.1825, allocations: 0.6705 MB / 372.5 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004598/0.1872, allocations: 2.268 MB / 374.7 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.1874, allocations: 266.9 kB / 375 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005115/0.1879, allocations: 347.9 kB / 375.3 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007664/0.1956, allocations: 4.429 MB / 379.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.253e-05/0.1957, allocations: 4 kB / 379.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002895/0.196, allocations: 140 kB / 379.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.1961, allocations: 174.7 kB / 380.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2445/0.4407, allocations: 3.71 MB / 383.8 MB, free: 30.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02769/0.4684, allocations: 14.54 MB / 398.3 MB, free: 26.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/0.4728, allocations: 5.372 MB / 403.7 MB, free: 22.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.4746, allocations: 1.275 MB / 405 MB, free: 22.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006001/0.4806, allocations: 3.818 MB / 408.8 MB, free: 19.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4807, allocations: 45.91 kB / 408.8 MB, free: 19.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=127): time 2.695e-06/0.4807, allocations: 0 / 408.8 MB, free: 19.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.008815/0.4895, allocations: 5.506 MB / 414.3 MB, free: 16.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.4896, allocations: 64.34 kB / 414.4 MB, free: 16.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/0.4923, allocations: 2.085 MB / 416.5 MB, free: 14.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.798e-05/0.4924, allocations: 49.7 kB / 416.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008383/0.4932, allocations: 1.656 MB / 418.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.4935, allocations: 463.9 kB / 418.6 MB, free: 12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.4936, allocations: 36 kB / 418.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4937, allocations: 377.9 kB / 419.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009221/0.4946, allocations: 0.7066 MB / 419.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.4958, allocations: 1.35 MB / 421.1 MB, free: 9.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.4969, allocations: 0.9487 MB / 422.1 MB, free: 8.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.497, allocations: 12 kB / 422.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.003267/0.5002, allocations: 2.498 MB / 424.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.5003, allocations: 16 kB / 424.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.5003, allocations: 20 kB / 424.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/0.5006, allocations: 146.8 kB / 424.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.5021, allocations: 473.9 kB / 425.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.5039, allocations: 3.073 MB / 428.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.5054, allocations: 111.9 kB / 428.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.5055, allocations: 87.98 kB / 428.5 MB, free: 1.789 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 (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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001892/0.5074, allocations: 1.049 MB / 429.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.5078, allocations: 213.1 kB / 429.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/0.5113, allocations: 2.175 MB / 431.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5113, allocations: 16 kB / 431.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.5113, allocations: 4 kB / 431.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.5114, allocations: 7.969 kB / 431.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008286/0.5196, allocations: 5.158 MB / 437.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.5197, allocations: 11.97 kB / 437.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009517/0.5206, allocations: 226.5 kB / 437.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006434/0.5213, allocations: 269.9 kB / 437.6 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/0.5214, allocations: 35.98 kB / 437.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006538/0.5279, allocations: 7.11 MB / 444.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.528, allocations: 3.844 kB / 444.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00498/0.533, allocations: 3.173 MB / 447.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.5342, allocations: 462.3 kB / 448.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.5344, allocations: 30.19 kB / 448.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008994/0.5353, allocations: 77.7 kB / 448.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.5355, allocations: 90.42 kB / 448.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.709e-05/0.5356, allocations: 39.98 kB / 448.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00232/0.5379, allocations: 1.415 MB / 450 MB, free: 11.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5379, allocations: 4 kB / 450 MB, free: 11.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002266/0.5402, allocations: 0.5597 MB / 450.6 MB, free: 10.98 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 (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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003308/0.5406, allocations: 165.8 kB / 450.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.5437, allocations: 2.082 MB / 452.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5438, allocations: 0 / 452.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.5458, allocations: 1.38 MB / 454.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/0.549, allocations: 0.524 MB / 454.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.5603, allocations: 7.382 MB / 462.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/0.5625, allocations: 2.375 MB / 464.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000791/0.5633, allocations: 167.4 kB / 464.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of SimCode: time 1.273e-06/0.5633, allocations: 0 / 464.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of Templates: time 0.3238/0.8871, allocations: 99.17 MB / 0.5506 GB, free: 141.4 MB / 430.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++ 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 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