Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001138/0.001138, allocations: 194 kB / 18.72 MB, free: 4.762 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.134/2.134, allocations: 205.1 MB / 224.6 MB, free: 12.41 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.001697/0.001697, allocations: 43.94 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1544, allocations: 46.63 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01669/0.1711, allocations: 12.01 MB / 339.3 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009532/0.1807, allocations: 3.274 MB / 342.5 MB, free: 5.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.184, allocations: 35.94 kB / 342.6 MB, free: 5.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002988/0.187, allocations: 0.5826 MB / 343.1 MB, free: 4.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.1912, allocations: 0.6167 MB / 343.8 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.1932, allocations: 363.7 kB / 344.1 MB, free: 3.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005258/0.1985, allocations: 2.276 MB / 346.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.2008, allocations: 0.866 MB / 347.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.2031, allocations: 0.805 MB / 348.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.2053, allocations: 0.9253 MB / 349 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00087/0.2062, allocations: 144 kB / 349.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.2076, allocations: 180 kB / 349.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007837/0.2084, allocations: 362.4 kB / 349.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.2109, allocations: 0.9949 MB / 350.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.2134, allocations: 2.283 MB / 352.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.2134, allocations: 0 / 352.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2134, allocations: 0 / 352.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.833e-05/0.2135, allocations: 0 / 352.9 MB, free: 11.05 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: 393 * Number of variables: 393 Notification: Performance of Generate backend data structure: time 0.004067/0.2175, allocations: 2.152 MB / 355.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.2176, allocations: 8.031 kB / 355.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000946/0.2186, allocations: 282.4 kB / 355.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.2203, allocations: 1.111 MB / 356.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.995e-05/0.2204, allocations: 111.5 kB / 356.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.2207, allocations: 163.8 kB / 356.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.2233, allocations: 1.512 MB / 358.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.213e-05/0.2233, allocations: 3.906 kB / 358.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.2235, allocations: 71.98 kB / 358.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.2236, allocations: 43.94 kB / 358.4 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.2257, allocations: 1.037 MB / 359.4 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009274/0.235, allocations: 6.304 MB / 365.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.2366, allocations: 0.6112 MB / 366.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009041/0.2375, allocations: 458.2 kB / 366.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.2376, allocations: 16.7 kB / 366.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2376, allocations: 43.12 kB / 366.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 3.426e-06/0.2377, allocations: 0 / 366.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.005553/0.2432, allocations: 2.356 MB / 369.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/0.2433, allocations: 115.5 kB / 369.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.2455, allocations: 1.306 MB / 370.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/0.2455, allocations: 41.7 kB / 370.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007517/0.2463, allocations: 0.8414 MB / 371.5 MB, free: 7.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.2466, allocations: 272.2 kB / 371.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.2469, allocations: 210.7 kB / 372 MB, free: 7.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2471, allocations: 345.9 kB / 372.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005759/0.2476, allocations: 282.4 kB / 372.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009246/0.2486, allocations: 0.7421 MB / 373.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.2502, allocations: 1.08 MB / 374.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/0.2502, allocations: 4 kB / 374.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002475/0.2527, allocations: 1.264 MB / 375.7 MB, free: 3.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.2527, allocations: 12 kB / 375.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.2528, allocations: 19.94 kB / 375.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/0.2534, allocations: 147.1 kB / 375.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.2542, allocations: 255.6 kB / 376.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2936/0.5478, allocations: 4.255 MB / 380.4 MB, free: 48.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.5495, allocations: 64.92 kB / 380.4 MB, free: 48.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.5496, allocations: 52.2 kB / 380.5 MB, free: 48.63 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008203/0.5504, allocations: 354.6 kB / 380.8 MB, free: 48.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003974/0.5508, allocations: 136.2 kB / 380.9 MB, free: 48.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.553, allocations: 0.8345 MB / 381.8 MB, free: 48.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5531, allocations: 8.656 kB / 381.8 MB, free: 48.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5531, allocations: 5.312 kB / 381.8 MB, free: 48.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.5531, allocations: 5.219 kB / 381.8 MB, free: 48.42 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005948/0.559, allocations: 2.327 MB / 384.1 MB, free: 47.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5591, allocations: 3.625 kB / 384.1 MB, free: 47.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/0.5597, allocations: 131.9 kB / 384.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005763/0.5603, allocations: 135.8 kB / 384.4 MB, free: 47.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.5604, allocations: 25.83 kB / 384.4 MB, free: 47.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00503/0.5654, allocations: 4.39 MB / 388.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/0.5655, allocations: 8.5 kB / 388.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/0.5688, allocations: 1.299 MB / 390.1 MB, free: 42.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007858/0.5696, allocations: 279.8 kB / 390.4 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.5698, allocations: 16.94 kB / 390.4 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000708/0.5705, allocations: 43.02 kB / 390.4 MB, free: 42.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.5707, allocations: 64.98 kB / 390.5 MB, free: 42.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.5708, allocations: 25.08 kB / 390.5 MB, free: 42.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002014/0.5728, allocations: 0.8755 MB / 391.4 MB, free: 42.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5728, allocations: 1.344 kB / 391.4 MB, free: 42.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00181/0.5746, allocations: 329.5 kB / 391.7 MB, free: 42.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadTorque1.phi,dcpm2.inertiaRotor.w,dcpm2.la.i,loadTorque2.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 (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003499/0.575, allocations: 133 kB / 391.9 MB, free: 41.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.5777, allocations: 1.121 MB / 393 MB, free: 41.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.5777, allocations: 0 / 393 MB, free: 41.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.5789, allocations: 0.7057 MB / 393.7 MB, free: 40.9 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.5811, allocations: 346.9 kB / 394 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007689/0.5888, allocations: 3.63 MB / 397.7 MB, free: 38.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.5902, allocations: 1.214 MB / 398.9 MB, free: 37.76 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.5906, allocations: 103.5 kB / 399 MB, free: 37.75 MB / 318.1 MB Notification: Performance of SimCode: time 1.893e-06/0.5906, allocations: 0 / 399 MB, free: 37.75 MB / 318.1 MB Notification: Performance of Templates: time 0.05939/0.65, allocations: 40.86 MB / 439.8 MB, free: 1.465 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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.DCPM_withLossesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLossesCalcHelperMain.o] Error 1