Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.0009031, 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.000851/0.000851, 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.194/1.194, 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.1534/0.1534, allocations: 37.99 MB / 309.3 MB, free: 6.242 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.001142/0.001142, allocations: 67.05 kB / 375.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1924, allocations: 55.23 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.005411/0.1979, allocations: 6.103 MB / 436.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.2002, allocations: 1.886 MB / 438.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.2005, allocations: 35.81 kB / 438.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.2008, allocations: 103.3 kB / 438.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004954/0.2014, allocations: 278.5 kB / 438.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.2016, allocations: 143.8 kB / 439 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005623/0.2022, allocations: 0.88 MB / 439.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.2025, allocations: 374 kB / 440.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.2027, allocations: 239 kB / 440.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.203, allocations: 298.8 kB / 440.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.2031, allocations: 32 kB / 440.8 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.2031, allocations: 32 kB / 440.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.2032, allocations: 139.5 kB / 441 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.2034, allocations: 250.8 kB / 441.3 MB, free: 9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.2037, allocations: 470.9 kB / 441.7 MB, free: 8.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2037, allocations: 0 / 441.7 MB, free: 8.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2037, allocations: 0 / 441.7 MB, free: 8.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2037, allocations: 0 / 441.7 MB, free: 8.539 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009573/0.2046, allocations: 0.7815 MB / 442.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.2047, allocations: 11.98 kB / 442.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.582e-05/0.2048, allocations: 60.22 kB / 442.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.2052, allocations: 439.9 kB / 443 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/0.2053, allocations: 66.64 kB / 443.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.2054, allocations: 40 kB / 443.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.206, allocations: 0.497 MB / 443.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.206, allocations: 11.91 kB / 443.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.206, allocations: 16 kB / 443.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.206, allocations: 8 kB / 443.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.2065, allocations: 347.6 kB / 444 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.2081, allocations: 1.976 MB / 445.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.2085, allocations: 226.1 kB / 446.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.2087, allocations: 102.5 kB / 446.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.2087, allocations: 4 kB / 446.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2087, allocations: 42.56 kB / 446.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.2087, allocations: 0 / 446.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001269/0.21, allocations: 0.8368 MB / 447.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.21, allocations: 114.8 kB / 447.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.2103, allocations: 329.5 kB / 447.6 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2103, allocations: 29.7 kB / 447.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.2104, allocations: 271.7 kB / 447.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.2104, allocations: 78.84 kB / 448 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.2105, allocations: 69.61 kB / 448 MB, free: 1.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.2106, allocations: 350.8 kB / 448.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2107, allocations: 79.95 kB / 448.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.2109, allocations: 213.1 kB / 448.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009002/0.2119, allocations: 0.5639 MB / 449.2 MB, free: 500 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2119, allocations: 0 / 449.2 MB, free: 500 kB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006409/0.2125, allocations: 418 kB / 449.6 MB, free: 72 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2125, allocations: 7.125 kB / 449.6 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2125, allocations: 7.938 kB / 449.6 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003055/0.2129, allocations: 80.78 kB / 449.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2131, allocations: 59.91 kB / 449.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.2148, allocations: 1.752 MB / 451.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.215, allocations: 23.89 kB / 451.6 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.215, allocations: 12 kB / 451.6 MB, free: 13.98 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0001952/0.2152, allocations: 193.7 kB / 451.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.2153, allocations: 35.61 kB / 451.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.2153, allocations: 39.31 kB / 451.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2153, allocations: 4 kB / 451.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.2154, allocations: 7.922 kB / 451.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2154, allocations: 4 kB / 451.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.2165, allocations: 0.7765 MB / 452.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2165, allocations: 64 / 452.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.2167, allocations: 48.02 kB / 452.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.056e-05/0.2168, allocations: 20.84 kB / 452.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.2168, allocations: 8 kB / 452.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007986/0.2176, allocations: 1.28 MB / 454 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2176, allocations: 0 / 454 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.2183, allocations: 0.5086 MB / 454.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.2184, allocations: 116.8 kB / 454.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.2185, allocations: 8 kB / 454.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2186, allocations: 15.92 kB / 454.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.2187, allocations: 11.98 kB / 454.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2187, allocations: 8 kB / 454.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.2189, allocations: 239.1 kB / 454.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2189, allocations: 0 / 454.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004433/0.2194, allocations: 88 kB / 455 MB, free: 10.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (dcm_pm.motor.i,loadInertia.w,frictTorq.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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,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.0001007/0.2195, allocations: 103.2 kB / 455.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006433/0.2201, allocations: 366.6 kB / 455.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2202, allocations: 0 / 455.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.2205, allocations: 207.5 kB / 455.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.2211, allocations: 113 kB / 455.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.2226, allocations: 1.14 MB / 456.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.223, allocations: 0.8428 MB / 457.7 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.2231, allocations: 31.44 kB / 457.7 MB, free: 7.434 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2231, allocations: 3.938 kB / 457.7 MB, free: 7.43 MB / 334.1 MB Notification: Performance of Templates: time 0.008148/0.2313, allocations: 6.858 MB / 464.6 MB, free: 0.5625 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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_pmCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pmCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pmCalcHelperMain.o] Error 1