Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.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.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 109.7 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.00102/0.00102, 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.185/1.185, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1558/0.1558, allocations: 37.99 MB / 309.3 MB, free: 6.234 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.001159/0.001159, allocations: 59.92 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1821, allocations: 55.25 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.006164/0.1883, allocations: 8.113 MB / 438.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.1921, allocations: 3.253 MB / 441.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/0.1928, allocations: 47.69 kB / 441.9 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008951/0.1937, allocations: 338.3 kB / 442.3 MB, free: 8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.195, allocations: 0.7122 MB / 443 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.1955, allocations: 275.7 kB / 443.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.1966, allocations: 2.116 MB / 445.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008642/0.1975, allocations: 1.126 MB / 446.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/0.1979, allocations: 0.5486 MB / 447 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.1986, allocations: 0.7476 MB / 447.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.1987, allocations: 80 kB / 447.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007181/0.1994, allocations: 0.6434 MB / 448.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.1997, allocations: 454.8 kB / 448.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.2001, allocations: 0.5872 MB / 449.5 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.2012, allocations: 1.684 MB / 451.2 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2012, allocations: 3.938 kB / 451.2 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2012, allocations: 0 / 451.2 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.2012, allocations: 0 / 451.2 MB, free: 15 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.00262/0.2038, allocations: 1.551 MB / 452.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.2039, allocations: 12.03 kB / 452.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005761/0.2045, allocations: 163.5 kB / 452.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.2056, allocations: 0.8112 MB / 453.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.2058, allocations: 204.7 kB / 453.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.2059, allocations: 103.9 kB / 454 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.2079, allocations: 1.465 MB / 455.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.208, allocations: 8 kB / 455.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.838e-05/0.2081, allocations: 36 kB / 455.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.2082, allocations: 85.89 kB / 455.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.21, allocations: 1.265 MB / 456.9 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.2161, allocations: 5.219 MB / 462.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.2175, allocations: 1.02 MB / 463.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/0.2183, allocations: 0.4964 MB / 463.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.2183, allocations: 8.562 kB / 463.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2184, allocations: 43.12 kB / 463.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=74): time 2.765e-06/0.2184, allocations: 3.938 kB / 463.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=78): time 0.005462/0.2239, allocations: 3.067 MB / 466.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.2239, allocations: 115.3 kB / 466.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007394/0.2247, allocations: 0.6915 MB / 467.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.2247, allocations: 37.7 kB / 467.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.225, allocations: 482.7 kB / 468.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.2252, allocations: 264.2 kB / 468.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.2255, allocations: 194.5 kB / 468.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2256, allocations: 390.7 kB / 468.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006379/0.2263, allocations: 441.8 kB / 469.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008361/0.2271, allocations: 0.7126 MB / 470 MB, free: 11.45 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bldcm.rotor.w = bldcm.rotor.w_start (loadInertia.w_start = bldcm.rotor.w_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005027/0.2322, allocations: 2.583 MB / 472.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.2322, allocations: 4 kB / 472.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002013/0.2342, allocations: 1.309 MB / 473.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.2342, allocations: 12.19 kB / 474 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.2343, allocations: 15.94 kB / 474 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/0.2345, allocations: 77.67 kB / 474 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/0.2353, allocations: 223.6 kB / 474.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008275/0.2361, allocations: 1.347 MB / 475.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.2367, allocations: 71.84 kB / 475.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.2368, allocations: 43.98 kB / 475.7 MB, free: 5.477 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: bldcm.rotor.w = bldcm.rotor.w_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[6],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004992/0.2373, allocations: 421.5 kB / 476.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.2375, allocations: 83.2 kB / 476.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.2389, allocations: 0.9938 MB / 477.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.239, allocations: 16 kB / 477.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.239, allocations: 0 / 477.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.239, allocations: 7.984 kB / 477.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.242, allocations: 2.277 MB / 479.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.2421, allocations: 3.938 kB / 479.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.2427, allocations: 143.8 kB / 479.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.932e-05/0.2428, allocations: 28.88 kB / 479.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.2429, allocations: 15.98 kB / 479.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007812/0.2436, allocations: 1.292 MB / 481 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.2437, allocations: 7.969 kB / 481 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.2457, allocations: 1.642 MB / 482.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.246, allocations: 248.1 kB / 482.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.2461, allocations: 15.94 kB / 482.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/0.2466, allocations: 51.94 kB / 483 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.2467, allocations: 52.48 kB / 483 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.2468, allocations: 23.98 kB / 483 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004831/0.2473, allocations: 483 kB / 483.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2473, allocations: 0 / 483.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007828/0.2481, allocations: 260 kB / 483.8 MB, free: 13.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (efficiency.pav,efficiency.qav,bldcm.motor.i_s[1],bldcm.motor.i_s[2],bldcm.motor.i_s[3],loadInertia.w,frictTorq.phi) * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[1],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 1 * 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,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.0002783/0.2484, allocations: 154.9 kB / 483.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.25, allocations: 1.242 MB / 485.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.25, allocations: 0 / 485.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007819/0.2508, allocations: 0.6071 MB / 485.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009752/0.2518, allocations: 226.5 kB / 486 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.2557, allocations: 3.019 MB / 489 MB, free: 7.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.2564, allocations: 1.161 MB / 490.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.2566, allocations: 67.42 kB / 490.2 MB, free: 6.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2566, allocations: 0 / 490.2 MB, free: 6.59 MB / 366.1 MB Notification: Performance of Templates: time 0.02213/0.2788, allocations: 20.82 MB / 0.4991 GB, free: 1.758 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.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.BLDCCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCCalcHelperMain.o] Error 1