Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008259/0.0008258, allocations: 89.55 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.0009326/0.0009326, allocations: 201.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.724/1.724, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002405, allocations: 4 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1035, allocations: 51.49 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008352/0.1119, allocations: 7.144 MB / 365.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005373/0.1173, allocations: 2.495 MB / 368.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.1185, allocations: 23.94 kB / 368.5 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.12, allocations: 465.4 kB / 368.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.1213, allocations: 389.1 kB / 369.3 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.1218, allocations: 159.8 kB / 369.4 MB, free: 3.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.1235, allocations: 1.329 MB / 370.8 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008214/0.1243, allocations: 427.2 kB / 371.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009592/0.1253, allocations: 457.9 kB / 371.6 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006419/0.1259, allocations: 0.4899 MB / 372.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1261, allocations: 68 kB / 372.2 MB, free: 440 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.1263, allocations: 95.98 kB / 372.3 MB, free: 344 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.1265, allocations: 195.1 kB / 372.5 MB, free: 148 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2331/0.3596, allocations: 258.3 kB / 372.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003074/0.3627, allocations: 1.345 MB / 374.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3628, allocations: 0 / 374.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3628, allocations: 2.719 kB / 374.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.824e-05/0.3628, allocations: 0 / 374.1 MB, free: 11.33 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002834/0.3657, allocations: 1.271 MB / 375.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.3657, allocations: 9.781 kB / 375.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007777/0.3665, allocations: 186.9 kB / 375.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.368, allocations: 0.7007 MB / 376.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.3681, allocations: 77.7 kB / 376.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.3683, allocations: 99.17 kB / 376.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.3707, allocations: 0.933 MB / 377.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/0.3707, allocations: 5.344 kB / 377.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.75e-05/0.3708, allocations: 42.94 kB / 377.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/0.3709, allocations: 24.09 kB / 377.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.3724, allocations: 0.64 MB / 378.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006875/0.3793, allocations: 3.932 MB / 382 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008497/0.3802, allocations: 447.7 kB / 382.4 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006079/0.3808, allocations: 264.7 kB / 382.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.3808, allocations: 5.859 kB / 382.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.3809, allocations: 39.3 kB / 382.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 3.276e-06/0.3809, allocations: 0 / 382.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003548/0.3845, allocations: 1.414 MB / 384.1 MB, free: 7.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.3845, allocations: 86.02 kB / 384.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.3863, allocations: 0.8188 MB / 385.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.3863, allocations: 33.83 kB / 385.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000547/0.3869, allocations: 0.5497 MB / 385.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.387, allocations: 159.2 kB / 385.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.3871, allocations: 15.84 kB / 385.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3872, allocations: 335 kB / 386.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.3877, allocations: 173.2 kB / 386.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.3884, allocations: 462.7 kB / 386.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.389, allocations: 244.1 kB / 387 MB, free: 6.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.3891, allocations: 3.062 kB / 387 MB, free: 6.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001676/0.3907, allocations: 0.7743 MB / 387.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.3908, allocations: 8.656 kB / 387.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.3908, allocations: 11.56 kB / 387.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004116/0.3912, allocations: 88.77 kB / 387.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.3919, allocations: 154.4 kB / 388 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.3944, allocations: 2.87 MB / 390.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000857/0.3953, allocations: 39.11 kB / 390.9 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.3954, allocations: 35.53 kB / 391 MB, free: 3.391 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 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.0007382/0.3961, allocations: 265.7 kB / 391.2 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.3964, allocations: 86.59 kB / 391.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.3975, allocations: 498 kB / 391.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3975, allocations: 4.25 kB / 391.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3976, allocations: 5.391 kB / 391.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.3976, allocations: 3.891 kB / 391.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.4005, allocations: 1.446 MB / 393.3 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.4005, allocations: 1.25 kB / 393.3 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.4009, allocations: 74.36 kB / 393.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/0.4011, allocations: 77.28 kB / 393.4 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.4012, allocations: 8.438 kB / 393.4 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.4037, allocations: 2.853 MB / 396.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4037, allocations: 5.062 kB / 396.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4054, allocations: 0.7761 MB / 397 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.4058, allocations: 198.1 kB / 397.2 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.4059, allocations: 14.52 kB / 397.3 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.4064, allocations: 38.19 kB / 397.3 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.4065, allocations: 39.48 kB / 397.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.4065, allocations: 9.531 kB / 397.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.4076, allocations: 0.5575 MB / 397.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4076, allocations: 4 kB / 397.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001222/0.4089, allocations: 209.5 kB / 398.1 MB, free: 14.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 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 Backend phase and start with SimCode phase: time 0.0002783/0.4092, allocations: 116.9 kB / 398.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.4105, allocations: 0.7024 MB / 398.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4106, allocations: 1.406 kB / 398.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007159/0.4113, allocations: 451.8 kB / 399.4 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4125, allocations: 216.8 kB / 399.6 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.4164, allocations: 2.149 MB / 401.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008788/0.4173, allocations: 1.003 MB / 402.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.4175, allocations: 58.06 kB / 402.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4176, allocations: 4 kB / 402.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of Templates: time 0.0321/0.4497, allocations: 20.75 MB / 423.5 MB, free: 8.836 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.DCSE_StartCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.o] Error 1