Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 89.17 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.73/1.73, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002688, allocations: 8 kB / 307.3 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1472, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.01226/0.1596, allocations: 9.671 MB / 368.5 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009584/0.1692, allocations: 3.46 MB / 371.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/0.1725, allocations: 63.69 kB / 372 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003182/0.1757, allocations: 0.6523 MB / 372.6 MB, free: 8 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3552/0.5309, allocations: 0.7208 MB / 373.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.5329, allocations: 295.8 kB / 373.7 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008001/0.5409, allocations: 2.958 MB / 376.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004553/0.5455, allocations: 1.85 MB / 378.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.5493, allocations: 1.018 MB / 379.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004917/0.5543, allocations: 1.406 MB / 380.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.5555, allocations: 151.8 kB / 381 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.5575, allocations: 237.4 kB / 381.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001421/0.5589, allocations: 0.8024 MB / 382.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.5603, allocations: 0.5647 MB / 382.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005515/0.5658, allocations: 3.934 MB / 386.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.5658, allocations: 1.859 kB / 386.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5659, allocations: 0 / 386.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001492/0.566, allocations: 0 / 386.6 MB, free: 7.652 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: 659 * Number of variables: 659 Notification: Performance of Generate backend data structure: time 0.007956/0.574, allocations: 2.894 MB / 389.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.574, allocations: 9.969 kB / 389.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.5756, allocations: 346.8 kB / 389.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003984/0.5796, allocations: 1.72 MB / 391.5 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.5799, allocations: 197 kB / 391.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000461/0.5804, allocations: 249.9 kB / 392 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006659/0.587, allocations: 3.263 MB / 395.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.655e-05/0.5871, allocations: 10.38 kB / 395.2 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.5874, allocations: 106.2 kB / 395.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/0.5876, allocations: 123.3 kB / 395.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005265/0.5929, allocations: 2.73 MB / 398.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/0.61, allocations: 10.52 MB / 408.7 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.6119, allocations: 1.357 MB / 410.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.6131, allocations: 0.7899 MB / 410.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/0.6134, allocations: 209.9 kB / 411.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.6135, allocations: 47.56 kB / 411.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.346e-06/0.6135, allocations: 0 / 411.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.0152/0.6287, allocations: 6.944 MB / 418.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.6288, allocations: 64.41 kB / 418.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.6317, allocations: 1.782 MB / 419.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/0.6318, allocations: 45.7 kB / 419.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009718/0.6328, allocations: 1.281 MB / 421.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.6332, allocations: 420.8 kB / 421.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.6332, allocations: 36 kB / 421.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6334, allocations: 365.9 kB / 422 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.6346, allocations: 0.7751 MB / 422.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.6361, allocations: 1.295 MB / 424.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.6376, allocations: 0.9783 MB / 425.1 MB, free: 7.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.6376, allocations: 4 kB / 425.1 MB, free: 7.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00465/0.6422, allocations: 2.463 MB / 427.5 MB, free: 5.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.6423, allocations: 16.09 kB / 427.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.6423, allocations: 16 kB / 427.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/0.643, allocations: 243.2 kB / 427.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.6444, allocations: 415.3 kB / 428.2 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.6469, allocations: 3.013 MB / 431.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.6487, allocations: 131.7 kB / 431.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.6488, allocations: 75.98 kB / 431.4 MB, free: 0.9062 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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.001893/0.6507, allocations: 0.8095 MB / 432.2 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/0.6513, allocations: 185.7 kB / 432.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.6547, allocations: 2.046 MB / 434.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.6547, allocations: 16 kB / 434.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6548, allocations: 3.953 kB / 434.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.6548, allocations: 3.984 kB / 434.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008108/0.6629, allocations: 4.755 MB / 439.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.6629, allocations: 8.062 kB / 439.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.664, allocations: 259.6 kB / 439.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000515/0.6645, allocations: 199.3 kB / 439.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/0.6646, allocations: 31.94 kB / 439.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/0.6672, allocations: 2.982 MB / 442.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.6672, allocations: 0 / 442.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/0.6719, allocations: 3.126 MB / 445.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.6731, allocations: 442.5 kB / 446.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.6734, allocations: 27.95 kB / 446.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008856/0.6743, allocations: 103.9 kB / 446.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.6744, allocations: 79.23 kB / 446.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.727e-05/0.6745, allocations: 32 kB / 446.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002157/0.6767, allocations: 1.22 MB / 447.7 MB, free: 168 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6767, allocations: 0 / 447.7 MB, free: 168 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001925/0.6786, allocations: 488 kB / 448.2 MB, free: 15.68 MB / 366.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 (121): * Single equations (assignments): 117 * 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.0003432/0.679, allocations: 155 kB / 448.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003651/0.6826, allocations: 2.332 MB / 450.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6827, allocations: 3.938 kB / 450.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.6845, allocations: 1.339 MB / 452 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/0.6879, allocations: 480.8 kB / 452.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.6991, allocations: 5.879 MB / 458.4 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/0.7012, allocations: 1.974 MB / 460.4 MB, free: 3.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009319/0.7022, allocations: 155.4 kB / 460.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7022, allocations: 0 / 460.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of Templates: time 0.09577/0.798, allocations: 82.33 MB / 0.5301 GB, free: 0.8711 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSourceCalcHelperMain.o] Error 1