Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) 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(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009026/0.0009027, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.0008505/0.0008505, allocations: 202.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1547/0.1547, allocations: 38 MB / 309.3 MB, free: 6.23 MB / 254.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.001166/0.001166, allocations: 67.03 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1792, allocations: 55.24 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005023/0.1843, allocations: 6.321 MB / 436.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1863, allocations: 2.272 MB / 439.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.1866, allocations: 39.75 kB / 439.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.187, allocations: 151.2 kB / 439.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.1876, allocations: 378.1 kB / 439.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1879, allocations: 206.2 kB / 439.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.1886, allocations: 1.059 MB / 440.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.1889, allocations: 427 kB / 441.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.1892, allocations: 298.6 kB / 441.6 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.1895, allocations: 346.7 kB / 442 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.1895, allocations: 36 kB / 442 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1897, allocations: 75.98 kB / 442.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1898, allocations: 167.4 kB / 442.2 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.19, allocations: 286.5 kB / 442.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1903, allocations: 0.5768 MB / 443.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1904, allocations: 0 / 443.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1904, allocations: 0 / 443.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.1904, allocations: 0 / 443.1 MB, free: 7.152 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00117/0.1915, allocations: 0.8902 MB / 444 MB, free: 6.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.1916, allocations: 15.97 kB / 444 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.1917, allocations: 60.28 kB / 444.1 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.1923, allocations: 0.5058 MB / 444.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1923, allocations: 29 kB / 444.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/0.1924, allocations: 48 kB / 444.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.1929, allocations: 0.5207 MB / 445.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.193, allocations: 3.906 kB / 445.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.193, allocations: 16 kB / 445.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-05/0.1931, allocations: 21 kB / 445.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.1935, allocations: 339.6 kB / 445.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.1952, allocations: 2.066 MB / 447.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.1955, allocations: 228.2 kB / 447.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.1956, allocations: 86.61 kB / 447.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1956, allocations: 0 / 447.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1958, allocations: 174 kB / 448.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.242e-06/0.1958, allocations: 0 / 448.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001246/0.1971, allocations: 0.9235 MB / 449 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1971, allocations: 132.8 kB / 449.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.1975, allocations: 433.8 kB / 449.5 MB, free: 300 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1975, allocations: 33.7 kB / 449.6 MB, free: 260 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1976, allocations: 295.8 kB / 449.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.1977, allocations: 86.7 kB / 450 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/0.1978, allocations: 74.05 kB / 450 MB, free: 15.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1979, allocations: 366.7 kB / 450.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1981, allocations: 84.83 kB / 450.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.1983, allocations: 229.4 kB / 450.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.1987, allocations: 324 kB / 451 MB, free: 14.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1987, allocations: 0 / 451 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007555/0.1995, allocations: 433.7 kB / 451.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1995, allocations: 8 kB / 451.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1995, allocations: 7.984 kB / 451.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.1999, allocations: 101 kB / 451.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.2001, allocations: 71.84 kB / 451.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.2019, allocations: 1.695 MB / 453.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.2021, allocations: 23.92 kB / 453.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.2022, allocations: 20 kB / 453.4 MB, free: 12.19 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002096/0.2024, allocations: 213.7 kB / 453.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.2025, allocations: 47.44 kB / 453.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005057/0.203, allocations: 278 kB / 453.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.203, allocations: 4 kB / 453.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.203, allocations: 8 kB / 453.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.203, allocations: 0 / 453.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009992/0.204, allocations: 0.7765 MB / 454.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.204, allocations: 0 / 454.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.2043, allocations: 43.97 kB / 454.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/0.2045, allocations: 48.81 kB / 454.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.2045, allocations: 7.984 kB / 454.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.2056, allocations: 1.44 MB / 456.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2056, allocations: 0 / 456.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000645/0.2063, allocations: 481.4 kB / 456.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.2064, allocations: 128.7 kB / 456.8 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.2065, allocations: 8 kB / 456.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.2067, allocations: 19.86 kB / 456.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.2068, allocations: 27.91 kB / 456.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.2068, allocations: 11.94 kB / 456.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.2071, allocations: 299.1 kB / 457.2 MB, free: 8.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2071, allocations: 0 / 457.2 MB, free: 8.117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.2075, allocations: 112 kB / 457.3 MB, free: 8.008 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007831/0.2083, allocations: 409.1 kB / 457.7 MB, free: 7.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000666/0.209, allocations: 394.1 kB / 458.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.209, allocations: 0 / 458.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.2094, allocations: 239.8 kB / 458.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/0.21, allocations: 121.9 kB / 458.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.2118, allocations: 1.413 MB / 459.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.2122, allocations: 0.8779 MB / 460.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.266e-05/0.2123, allocations: 43.42 kB / 460.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2123, allocations: 0 / 460.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Templates: time 0.009837/0.2222, allocations: 8.782 MB / 469.5 MB, free: 11.7 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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 OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.o] Error 1