Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000918/0.0009184, allocations: 92.06 kB / 16.95 MB, free: 5.953 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.0008911/0.0008911, allocations: 178.5 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 223.3 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003079, allocations: 4 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01084/0.1442, allocations: 7.239 MB / 359.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006677/0.151, allocations: 2.518 MB / 361.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.1526, allocations: 23.94 kB / 361.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.1551, allocations: 473.3 kB / 362.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.1581, allocations: 393.1 kB / 362.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.1593, allocations: 167.8 kB / 362.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.1623, allocations: 1.35 MB / 364 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.1633, allocations: 427.3 kB / 364.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.1645, allocations: 473.9 kB / 364.9 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.1651, allocations: 0.5015 MB / 365.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.1652, allocations: 68 kB / 365.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.1656, allocations: 104 kB / 365.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.1658, allocations: 199.1 kB / 365.8 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.1661, allocations: 265 kB / 366 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.1676, allocations: 1.363 MB / 367.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.1676, allocations: 4 kB / 367.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1676, allocations: 0 / 367.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1676, allocations: 0 / 367.4 MB, free: 4.395 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002314/0.1699, allocations: 1.293 MB / 368.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.17, allocations: 12.03 kB / 368.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006636/0.1707, allocations: 190.3 kB / 368.9 MB, free: 2.848 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.1719, allocations: 0.7231 MB / 369.6 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.172, allocations: 74 kB / 369.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.1721, allocations: 100 kB / 369.8 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.1738, allocations: 0.9386 MB / 370.7 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.1739, allocations: 11.84 kB / 370.7 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/0.174, allocations: 47.95 kB / 370.8 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.174, allocations: 24 kB / 370.8 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.1753, allocations: 0.6559 MB / 371.4 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3008/0.4761, allocations: 3.959 MB / 375.4 MB, free: 22.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007477/0.4769, allocations: 454.1 kB / 375.8 MB, free: 22.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.4776, allocations: 273 kB / 376.1 MB, free: 22.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.4777, allocations: 5.844 kB / 376.1 MB, free: 22.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.4777, allocations: 40.28 kB / 376.2 MB, free: 22.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.334e-06/0.4777, allocations: 0 / 376.2 MB, free: 22.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.003545/0.4813, allocations: 1.579 MB / 377.7 MB, free: 21.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.4814, allocations: 83.62 kB / 377.8 MB, free: 21.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.4827, allocations: 0.8327 MB / 378.6 MB, free: 20.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.4827, allocations: 32.39 kB / 378.7 MB, free: 20.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.4832, allocations: 0.5647 MB / 379.2 MB, free: 20.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.4833, allocations: 162 kB / 379.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.4833, allocations: 18.72 kB / 379.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.4834, allocations: 332.9 kB / 379.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.4838, allocations: 175 kB / 379.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000538/0.4844, allocations: 481.6 kB / 380.4 MB, free: 19.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.4849, allocations: 254.5 kB / 380.6 MB, free: 19.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.4849, allocations: 2.469 kB / 380.6 MB, free: 19.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001485/0.4864, allocations: 0.7973 MB / 381.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.4864, allocations: 8.625 kB / 381.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4864, allocations: 10.34 kB / 381.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.4867, allocations: 89.59 kB / 381.5 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.4873, allocations: 164.8 kB / 381.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.4893, allocations: 2.877 MB / 384.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/0.49, allocations: 35.97 kB / 384.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.4901, allocations: 36.95 kB / 384.7 MB, free: 15.84 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 (85): * Single equations (assignments): 83 * 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.0004894/0.4906, allocations: 268.4 kB / 384.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.4907, allocations: 90.25 kB / 385 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.4918, allocations: 0.5097 MB / 385.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4918, allocations: 4.188 kB / 385.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4919, allocations: 1.672 kB / 385.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4919, allocations: 7.391 kB / 385.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.4947, allocations: 1.479 MB / 387 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4947, allocations: 6.469 kB / 387 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.4951, allocations: 74.02 kB / 387.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/0.4954, allocations: 75.62 kB / 387.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.4954, allocations: 9.469 kB / 387.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.4974, allocations: 2.854 MB / 390 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.4974, allocations: 7.828 kB / 390 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.499, allocations: 0.8189 MB / 390.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.4994, allocations: 203.7 kB / 391 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.4995, allocations: 13.14 kB / 391.1 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.4999, allocations: 39.59 kB / 391.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.5, allocations: 35.34 kB / 391.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.5001, allocations: 15.5 kB / 391.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008936/0.501, allocations: 0.5642 MB / 391.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.501, allocations: 0 / 391.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001074/0.502, allocations: 208.6 kB / 391.9 MB, free: 10.71 MB / 302.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 (39): * Single equations (assignments): 37 * 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.0002482/0.5023, allocations: 129 kB / 392 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.5037, allocations: 0.7115 MB / 392.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5037, allocations: 1.531 kB / 392.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.5044, allocations: 472.9 kB / 393.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.5056, allocations: 222.4 kB / 393.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.5093, allocations: 2.171 MB / 395.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007953/0.5101, allocations: 1.014 MB / 396.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.5103, allocations: 62.62 kB / 396.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of SimCode: time 1.603e-06/0.5103, allocations: 0 / 396.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of Templates: time 0.03613/0.5465, allocations: 21.15 MB / 417.8 MB, free: 5.492 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhaseCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhaseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhaseCalcHelperMain.o] Error 1