Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009551/0.000955, allocations: 84.53 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.0009616/0.0009617, allocations: 190.1 kB / 18.48 MB, free: 5.203 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.83/1.83, 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.0004944/0.0004944, allocations: 8 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01165/0.1445, allocations: 9.604 MB / 338.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008773/0.1534, allocations: 3.453 MB / 342 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.156, allocations: 59.69 kB / 342.1 MB, free: 6.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.1585, allocations: 0.6484 MB / 342.8 MB, free: 6.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.1621, allocations: 0.7225 MB / 343.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1634, allocations: 303.5 kB / 343.8 MB, free: 5.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004593/0.168, allocations: 2.965 MB / 346.7 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002785/0.1709, allocations: 1.812 MB / 348.6 MB, free: 416 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.1731, allocations: 1.015 MB / 349.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002769/0.1759, allocations: 1.416 MB / 351 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004976/0.1764, allocations: 156 kB / 351.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009543/0.1774, allocations: 231.9 kB / 351.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009605/0.1783, allocations: 0.8061 MB / 352.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009706/0.1793, allocations: 0.5704 MB / 352.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004449/0.1838, allocations: 3.915 MB / 356.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.1838, allocations: 0 / 356.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.54e-06/0.1838, allocations: 0 / 356.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001812/0.184, allocations: 0 / 356.7 MB, free: 8.273 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.007145/0.1912, allocations: 2.88 MB / 359.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.1912, allocations: 8.031 kB / 359.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.1924, allocations: 344.1 kB / 359.9 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/0.1961, allocations: 1.639 MB / 361.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.1963, allocations: 197 kB / 361.7 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004062/0.1967, allocations: 259.9 kB / 362 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006629/0.2034, allocations: 3.252 MB / 365.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.648e-05/0.2035, allocations: 15.84 kB / 365.2 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.2037, allocations: 104 kB / 365.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.2039, allocations: 128.9 kB / 365.5 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005339/0.2092, allocations: 2.729 MB / 368.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01859/0.2279, allocations: 10.55 MB / 378.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.2299, allocations: 1.346 MB / 380.1 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2502/0.4801, allocations: 0.7734 MB / 380.9 MB, free: 49.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.4805, allocations: 206 kB / 381.1 MB, free: 49.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.4806, allocations: 47.23 kB / 381.1 MB, free: 49.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.286e-06/0.4806, allocations: 0 / 381.1 MB, free: 49.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01716/0.4977, allocations: 7.061 MB / 388.2 MB, free: 47.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.4978, allocations: 64.33 kB / 388.2 MB, free: 47.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/0.5011, allocations: 1.778 MB / 390 MB, free: 47.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.5012, allocations: 46.52 kB / 390.1 MB, free: 47.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008941/0.5021, allocations: 1.281 MB / 391.3 MB, free: 46.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.5025, allocations: 422.2 kB / 391.7 MB, free: 45.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.5026, allocations: 35.12 kB / 391.8 MB, free: 45.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5027, allocations: 370.3 kB / 392.1 MB, free: 45.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.5038, allocations: 0.7709 MB / 392.9 MB, free: 45.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.505, allocations: 1.288 MB / 394.2 MB, free: 44.33 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.5065, allocations: 0.9796 MB / 395.2 MB, free: 43.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.5065, allocations: 4.062 kB / 395.2 MB, free: 43.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00391/0.5104, allocations: 2.47 MB / 397.7 MB, free: 42.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.5104, allocations: 13.53 kB / 397.7 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.5105, allocations: 15.78 kB / 397.7 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005622/0.511, allocations: 241.7 kB / 397.9 MB, free: 42.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.5123, allocations: 422.2 kB / 398.3 MB, free: 42.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.5144, allocations: 2.999 MB / 401.3 MB, free: 40.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.5159, allocations: 133.5 kB / 401.5 MB, free: 40.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.516, allocations: 65.78 kB / 401.5 MB, free: 40 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001901/0.5179, allocations: 0.827 MB / 402.4 MB, free: 39.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/0.5184, allocations: 180.1 kB / 402.5 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.5214, allocations: 2.036 MB / 404.6 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.5214, allocations: 15.95 kB / 404.6 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5214, allocations: 1.688 kB / 404.6 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.5214, allocations: 3.984 kB / 404.6 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/0.5275, allocations: 4.752 MB / 409.3 MB, free: 33.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.5275, allocations: 4 kB / 409.3 MB, free: 33.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009034/0.5284, allocations: 266.6 kB / 409.6 MB, free: 33.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.5289, allocations: 210.6 kB / 409.8 MB, free: 32.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/0.5289, allocations: 28.16 kB / 409.8 MB, free: 32.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.5307, allocations: 2.975 MB / 412.8 MB, free: 29.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5307, allocations: 4.031 kB / 412.8 MB, free: 29.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/0.5343, allocations: 3.122 MB / 415.9 MB, free: 26.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008417/0.5352, allocations: 430.6 kB / 416.4 MB, free: 25.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.5354, allocations: 32 kB / 416.4 MB, free: 25.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.5362, allocations: 95.88 kB / 416.5 MB, free: 25.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.5364, allocations: 80.83 kB / 416.6 MB, free: 25.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.5364, allocations: 34.95 kB / 416.6 MB, free: 25.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001768/0.5382, allocations: 1.216 MB / 417.8 MB, free: 24.53 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5382, allocations: 0 / 417.8 MB, free: 24.53 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001883/0.5401, allocations: 489.1 kB / 418.3 MB, free: 24.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003379/0.5404, allocations: 150.4 kB / 418.4 MB, free: 23.9 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00305/0.5435, allocations: 2.333 MB / 420.8 MB, free: 21.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5435, allocations: 4.25 kB / 420.8 MB, free: 21.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.545, allocations: 1.331 MB / 422.1 MB, free: 20.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.5473, allocations: 475.5 kB / 422.6 MB, free: 19.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007907/0.5552, allocations: 5.86 MB / 428.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.5565, allocations: 1.974 MB / 430.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006846/0.5572, allocations: 155.4 kB / 430.6 MB, free: 11.56 MB / 318.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5572, allocations: 4 kB / 430.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of Templates: time 0.1103/0.6675, allocations: 82.21 MB / 0.5007 GB, free: 9.184 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSourceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSourceCalcHelperMain.o] Error 1