Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008482/0.0008482, allocations: 92.5 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009275/0.0009276, allocations: 191.8 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.634/1.634, allocations: 227.3 MB / 246.6 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 4 kB / 307.3 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1617, allocations: 51.5 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.009358/0.1712, allocations: 7.193 MB / 366 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006264/0.1775, allocations: 2.561 MB / 368.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.1786, allocations: 23.94 kB / 368.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.1802, allocations: 449.3 kB / 369 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.1814, allocations: 345.4 kB / 369.4 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.1823, allocations: 247.7 kB / 369.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.1839, allocations: 1.343 MB / 370.9 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007766/0.1847, allocations: 452.3 kB / 371.4 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000746/0.1854, allocations: 449.9 kB / 371.8 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006095/0.186, allocations: 493.5 kB / 372.3 MB, free: 340 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.1862, allocations: 64 kB / 372.4 MB, free: 276 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.1865, allocations: 95.97 kB / 372.5 MB, free: 180 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3466/0.533, allocations: 193.6 kB / 372.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.5344, allocations: 254.4 kB / 372.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004142/0.5386, allocations: 1.323 MB / 374.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.5386, allocations: 2.344 kB / 374.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5386, allocations: 0 / 374.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001261/0.5387, allocations: 0 / 374.2 MB, free: 11.18 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004955/0.5437, allocations: 1.317 MB / 375.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.5438, allocations: 9.25 kB / 375.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.5453, allocations: 191.5 kB / 375.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.5479, allocations: 0.7436 MB / 376.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.5481, allocations: 74.5 kB / 376.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003716/0.5484, allocations: 110 kB / 376.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.5516, allocations: 0.9585 MB / 377.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.272e-05/0.5517, allocations: 1.375 kB / 377.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.5519, allocations: 41.89 kB / 377.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/0.5519, allocations: 24.75 kB / 377.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.5539, allocations: 0.6423 MB / 378.3 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008862/0.5627, allocations: 4.136 MB / 382.5 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.564, allocations: 464.8 kB / 382.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.5644, allocations: 172.1 kB / 383.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/0.5645, allocations: 3.5 kB / 383.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5645, allocations: 37.92 kB / 383.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 3.276e-06/0.5645, allocations: 0 / 383.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003592/0.5681, allocations: 1.347 MB / 384.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.5682, allocations: 136.1 kB / 384.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.5703, allocations: 0.8878 MB / 385.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.5703, allocations: 31.11 kB / 385.5 MB, free: 6.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/0.5709, allocations: 0.586 MB / 386.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.5711, allocations: 148.1 kB / 386.3 MB, free: 6.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.5711, allocations: 18.88 kB / 386.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.5712, allocations: 334.7 kB / 386.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.5717, allocations: 169.1 kB / 386.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.5723, allocations: 0.4948 MB / 387.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.5728, allocations: 251 kB / 387.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.5728, allocations: 9.875 kB / 387.5 MB, free: 5.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001643/0.5745, allocations: 0.7438 MB / 388.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002636/0.5748, allocations: 401.2 kB / 388.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.5748, allocations: 16.39 kB / 388.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.575, allocations: 40.03 kB / 388.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.5756, allocations: 167.9 kB / 388.9 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008851/0.5765, allocations: 1.289 MB / 390.2 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/0.5774, allocations: 41.83 kB / 390.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/0.5775, allocations: 35.47 kB / 390.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5775, allocations: 4.812 kB / 390.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/0.5786, allocations: 0.6164 MB / 390.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.5787, allocations: 15.67 kB / 390.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/0.5788, allocations: 35.94 kB / 390.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.5793, allocations: 164.1 kB / 391.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006987/0.5801, allocations: 1.292 MB / 392.4 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.5807, allocations: 33.02 kB / 392.4 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/0.5808, allocations: 37.22 kB / 392.4 MB, free: 2.461 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006499/0.5815, allocations: 345.8 kB / 392.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5816, allocations: 94.58 kB / 392.9 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.5825, allocations: 449.9 kB / 393.3 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.5825, allocations: 7.656 kB / 393.3 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5825, allocations: 0.9375 kB / 393.3 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.5825, allocations: 5.922 kB / 393.3 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.585, allocations: 1.388 MB / 394.7 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.585, allocations: 6.5 kB / 394.7 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.5854, allocations: 77.3 kB / 394.8 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.425e-05/0.5856, allocations: 23.23 kB / 394.8 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.5856, allocations: 9.359 kB / 394.8 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007227/0.5863, allocations: 1.277 MB / 396.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5863, allocations: 5.969 kB / 396.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.5876, allocations: 0.722 MB / 396.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.5879, allocations: 210.8 kB / 397 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.588, allocations: 12.3 kB / 397 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.5884, allocations: 28.27 kB / 397.1 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.5885, allocations: 24.62 kB / 397.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.5885, allocations: 14.06 kB / 397.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009504/0.5895, allocations: 0.5961 MB / 397.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5895, allocations: 0 / 397.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001404/0.5909, allocations: 351.4 kB / 398 MB, free: 14.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadTorque.phi,firstOrder.y,PID.I.y) * 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 (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002426/0.5912, allocations: 127.2 kB / 398.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.5929, allocations: 0.9857 MB / 399.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5929, allocations: 8.312 kB / 399.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.5934, allocations: 290.2 kB / 399.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.5946, allocations: 233.8 kB / 399.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.5981, allocations: 2.249 MB / 401.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/0.5987, allocations: 1.014 MB / 402.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.5989, allocations: 66.03 kB / 403 MB, free: 11.48 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5989, allocations: 0 / 403 MB, free: 11.48 MB / 318.1 MB Notification: Performance of Templates: time 0.02502/0.624, allocations: 16.69 MB / 419.7 MB, free: 12.7 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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.DCMachines.DCPM_CurrentControlledCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlledCalcHelperMain.o] Error 1