Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008109/0.0008109, allocations: 89.06 kB / 17.58 MB, free: 5.758 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.0008043/0.0008042, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.852/1.852, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0005897/0.0005899, allocations: 8 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1355, allocations: 47.59 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.01358/0.1491, allocations: 10.23 MB / 339.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.1603, allocations: 3.733 MB / 343 MB, free: 6.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003543/0.1639, allocations: 59.69 kB / 343 MB, free: 5.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003274/0.1673, allocations: 0.6832 MB / 343.7 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004355/0.1716, allocations: 0.8042 MB / 344.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.1733, allocations: 335.5 kB / 344.8 MB, free: 4.172 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005785/0.1791, allocations: 3.285 MB / 348.1 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003269/0.1824, allocations: 2.068 MB / 350.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/0.1853, allocations: 1.109 MB / 351.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003405/0.1887, allocations: 1.56 MB / 352.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005371/0.1893, allocations: 172 kB / 353 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.1904, allocations: 259.8 kB / 353.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.1914, allocations: 0.8995 MB / 354.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.1926, allocations: 0.6328 MB / 354.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005252/0.1978, allocations: 4.426 MB / 359.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.1979, allocations: 0 / 359.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1979, allocations: 0 / 359.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001876/0.1981, allocations: 0 / 359.2 MB, free: 5.699 MB / 302.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.008338/0.2064, allocations: 3.225 MB / 362.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.2065, allocations: 8.031 kB / 362.5 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.2085, allocations: 391.6 kB / 362.8 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/0.2132, allocations: 1.872 MB / 364.7 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.2135, allocations: 225.7 kB / 364.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.2148, allocations: 283.9 kB / 365.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00776/0.2225, allocations: 3.689 MB / 368.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.47e-05/0.2226, allocations: 3.906 kB / 368.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.2229, allocations: 116 kB / 369 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.2231, allocations: 141.4 kB / 369.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005523/0.2286, allocations: 3.094 MB / 372.3 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2743/0.5029, allocations: 11.67 MB / 383.9 MB, free: 44.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/0.5059, allocations: 1.895 MB / 385.8 MB, free: 43.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.508, allocations: 1.091 MB / 386.9 MB, free: 43.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.5083, allocations: 208.9 kB / 387.1 MB, free: 43.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.5084, allocations: 49.03 kB / 387.2 MB, free: 43.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=125): time 3.917e-06/0.5084, allocations: 0 / 387.2 MB, free: 43.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=140): time 0.0151/0.5235, allocations: 6.541 MB / 393.7 MB, free: 40.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.5236, allocations: 64.56 kB / 393.8 MB, free: 40.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/0.5272, allocations: 1.977 MB / 395.7 MB, free: 40.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.5273, allocations: 51.17 kB / 395.8 MB, free: 40.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.5284, allocations: 1.411 MB / 397.2 MB, free: 38.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.5289, allocations: 486.1 kB / 397.7 MB, free: 38.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.081e-05/0.529, allocations: 38.75 kB / 397.7 MB, free: 38.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5292, allocations: 375.8 kB / 398.1 MB, free: 38.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.5304, allocations: 0.8141 MB / 398.9 MB, free: 37.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.5317, allocations: 1.378 MB / 400.3 MB, free: 36.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.533, allocations: 1.04 MB / 401.3 MB, free: 36.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.5331, allocations: 3.625 kB / 401.3 MB, free: 36.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004436/0.5375, allocations: 2.848 MB / 404.2 MB, free: 35.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.5376, allocations: 15.16 kB / 404.2 MB, free: 35.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.5376, allocations: 18.69 kB / 404.2 MB, free: 35.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/0.5384, allocations: 389 kB / 404.6 MB, free: 35.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.5397, allocations: 435.2 kB / 405 MB, free: 34.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/0.5443, allocations: 6.152 MB / 411.2 MB, free: 29.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.5464, allocations: 122.3 kB / 411.3 MB, free: 29.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.5466, allocations: 84.92 kB / 411.4 MB, free: 29.47 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (210): * Single equations (assignments): 206 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001939/0.5485, allocations: 0.9167 MB / 412.3 MB, free: 28.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005449/0.5491, allocations: 211.1 kB / 412.5 MB, free: 28.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.5529, allocations: 2.414 MB / 414.9 MB, free: 26.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.5529, allocations: 16 kB / 414.9 MB, free: 26.28 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.5529, allocations: 4 kB / 414.9 MB, free: 26.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.5529, allocations: 13 kB / 414.9 MB, free: 26.26 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008156/0.5611, allocations: 5.518 MB / 420.4 MB, free: 20.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.5611, allocations: 4 kB / 420.5 MB, free: 20.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009596/0.5621, allocations: 259.6 kB / 420.7 MB, free: 20.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008458/0.563, allocations: 406.5 kB / 421.1 MB, free: 19.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.792e-05/0.5631, allocations: 35.98 kB / 421.1 MB, free: 19.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00531/0.5684, allocations: 7.578 MB / 428.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5684, allocations: 8.047 kB / 428.7 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/0.5732, allocations: 3.608 MB / 432.3 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.5743, allocations: 478.3 kB / 432.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.5746, allocations: 32 kB / 432.8 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008964/0.5755, allocations: 87.89 kB / 432.9 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.5757, allocations: 113.1 kB / 433 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.796e-05/0.5758, allocations: 43.98 kB / 433.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00188/0.5777, allocations: 1.346 MB / 434.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.5777, allocations: 0 / 434.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002171/0.5799, allocations: 0.544 MB / 435 MB, free: 5.449 MB / 318.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 (129): * Single equations (assignments): 125 * 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 {(2,100.0%) 9,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003474/0.5802, allocations: 164.7 kB / 435.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003267/0.5835, allocations: 2.477 MB / 437.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5835, allocations: 4.188 kB / 437.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.5852, allocations: 1.493 MB / 439.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.5879, allocations: 0.5063 MB / 439.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.5993, allocations: 6.827 MB / 446.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/0.6015, allocations: 2.159 MB / 448.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/0.6024, allocations: 163.4 kB / 448.7 MB, free: 7.441 MB / 334.1 MB Notification: Performance of SimCode: time 1.673e-06/0.6025, allocations: 0 / 448.7 MB, free: 7.441 MB / 334.1 MB Notification: Performance of Templates: time 0.3467/0.9492, allocations: 91.16 MB / 0.5273 GB, free: 135.2 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSourceCalcHelperMain.o] Error 1