Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001814, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.0018/0.0018, allocations: 190 kB / 18.72 MB, free: 4.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001433/0.001433, allocations: 47.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1597, allocations: 46.64 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01341/0.1732, allocations: 8.009 MB / 335.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007628/0.1809, allocations: 2.646 MB / 337.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/0.1835, allocations: 27.88 kB / 337.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.1861, allocations: 0.4902 MB / 338.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.1892, allocations: 405.1 kB / 338.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1906, allocations: 215.8 kB / 339 MB, free: 9.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004051/0.1947, allocations: 1.397 MB / 340.4 MB, free: 7.637 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.1964, allocations: 0.5006 MB / 340.9 MB, free: 7.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.1984, allocations: 0.5016 MB / 341.4 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.2003, allocations: 0.556 MB / 342 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.2006, allocations: 84 kB / 342.1 MB, free: 5.969 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005721/0.2012, allocations: 124 kB / 342.2 MB, free: 5.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.2016, allocations: 234.9 kB / 342.4 MB, free: 5.617 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.2026, allocations: 0.6063 MB / 343 MB, free: 5.008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.2047, allocations: 1.379 MB / 344.4 MB, free: 3.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.2047, allocations: 4 kB / 344.4 MB, free: 3.621 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2047, allocations: 4 kB / 344.4 MB, free: 3.617 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.742e-05/0.2048, allocations: 0 / 344.4 MB, free: 3.617 MB / 286.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.003232/0.208, allocations: 1.453 MB / 345.9 MB, free: 2.109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.541e-05/0.2081, allocations: 8.031 kB / 345.9 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007667/0.2089, allocations: 191.4 kB / 346.1 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.2103, allocations: 0.7299 MB / 346.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.14e-05/0.2104, allocations: 78 kB / 346.9 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.2105, allocations: 96 kB / 347 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.2124, allocations: 0.9308 MB / 347.9 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.2124, allocations: 11.89 kB / 347.9 MB, free: 0 / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.2126, allocations: 40.05 kB / 347.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.2126, allocations: 24 kB / 348 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.2139, allocations: 0.6364 MB / 348.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006501/0.2204, allocations: 3.922 MB / 352.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/0.2213, allocations: 428.7 kB / 352.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.2219, allocations: 257.4 kB / 353.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.222, allocations: 4.328 kB / 353.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.222, allocations: 42.83 kB / 353.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.775e-06/0.222, allocations: 0 / 353.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.00325/0.2253, allocations: 1.395 MB / 354.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/0.2254, allocations: 85.11 kB / 354.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.2269, allocations: 0.8291 MB / 355.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.2269, allocations: 33.7 kB / 355.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.2275, allocations: 0.5526 MB / 356.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.2277, allocations: 157.8 kB / 356.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.2279, allocations: 138.4 kB / 356.4 MB, free: 7.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002806/0.2282, allocations: 334 kB / 356.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.2286, allocations: 169.9 kB / 356.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.2294, allocations: 463.9 kB / 357.4 MB, free: 6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.2307, allocations: 0.6544 MB / 358 MB, free: 5.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2307, allocations: 4 kB / 358 MB, free: 5.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00179/0.2325, allocations: 0.7746 MB / 358.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.2326, allocations: 8 kB / 358.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.2326, allocations: 8 kB / 358.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003745/0.233, allocations: 89.56 kB / 358.9 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.2335, allocations: 151.7 kB / 359.1 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.2373, allocations: 2.864 MB / 361.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.2382, allocations: 36.05 kB / 362 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.2383, allocations: 36 kB / 362 MB, free: 0.9648 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006852/0.239, allocations: 260.2 kB / 362.2 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.2392, allocations: 90.95 kB / 362.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.2404, allocations: 0.4915 MB / 362.8 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2405, allocations: 4 kB / 362.8 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2405, allocations: 0 / 362.8 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2405, allocations: 3.938 kB / 362.8 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.2433, allocations: 1.442 MB / 364.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.2433, allocations: 0 / 364.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.2436, allocations: 71.91 kB / 364.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.2439, allocations: 69.89 kB / 364.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.244, allocations: 12 kB / 364.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/0.2475, allocations: 2.852 MB / 367.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.2476, allocations: 4.031 kB / 367.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.2493, allocations: 0.7613 MB / 368 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006471/0.2499, allocations: 200 kB / 368.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.25, allocations: 11.94 kB / 368.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.2505, allocations: 31.97 kB / 368.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.2506, allocations: 27.95 kB / 368.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.2507, allocations: 16 kB / 368.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001279/0.252, allocations: 0.5654 MB / 368.9 MB, free: 9.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.699e-06/0.252, allocations: 3.938 kB / 368.9 MB, free: 9.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001412/0.2534, allocations: 211.9 kB / 369.1 MB, free: 9.414 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003935/0.2538, allocations: 119.2 kB / 369.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.2558, allocations: 0.6789 MB / 369.9 MB, free: 8.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.2558, allocations: 4 kB / 369.9 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008567/0.2567, allocations: 442.3 kB / 370.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.2581, allocations: 222.7 kB / 370.5 MB, free: 7.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.2629, allocations: 2.16 MB / 372.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.264, allocations: 1.001 MB / 373.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.2643, allocations: 63.38 kB / 373.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of SimCode: time 2.154e-06/0.2643, allocations: 0 / 373.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of Templates: time 0.2971/0.5614, allocations: 20.86 MB / 394.6 MB, free: 46.02 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_StartCalcHelperMain.o] Error 1