Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009246/0.0009247, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.0008798/0.0008798, allocations: 194.9 kB / 18.08 MB, free: 5.414 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.196/1.196, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1546/0.1546, allocations: 38 MB / 309.3 MB, free: 6.219 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.001168/0.001168, allocations: 75.02 kB / 375.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1773, allocations: 55.24 MB / 430.5 MB, free: 19.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005191/0.1825, allocations: 5.799 MB / 436.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.1849, allocations: 2.147 MB / 438.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1851, allocations: 27.81 kB / 438.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.1855, allocations: 127.2 kB / 438.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.186, allocations: 310.4 kB / 438.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1863, allocations: 186 kB / 439.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.1869, allocations: 0.8331 MB / 439.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.1872, allocations: 361.7 kB / 440.3 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.1874, allocations: 250.9 kB / 440.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1877, allocations: 286.8 kB / 440.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.1877, allocations: 32 kB / 440.8 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1879, allocations: 71.97 kB / 440.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.188, allocations: 139.5 kB / 441 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.1881, allocations: 250.6 kB / 441.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.1885, allocations: 0.5105 MB / 441.8 MB, free: 8.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1885, allocations: 0 / 441.8 MB, free: 8.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1885, allocations: 4 kB / 441.8 MB, free: 8.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1885, allocations: 0 / 441.8 MB, free: 8.348 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001135/0.1896, allocations: 0.8313 MB / 442.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1897, allocations: 11.97 kB / 442.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.1898, allocations: 56.28 kB / 442.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.1903, allocations: 470.2 kB / 443.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1903, allocations: 29 kB / 443.2 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.1904, allocations: 39.91 kB / 443.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/0.1909, allocations: 457.1 kB / 443.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1909, allocations: 3.938 kB / 443.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.191, allocations: 16 kB / 443.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.191, allocations: 16 kB / 443.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.1913, allocations: 274.3 kB / 444 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.1928, allocations: 1.862 MB / 445.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.1931, allocations: 259.5 kB / 446.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1933, allocations: 86.98 kB / 446.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1933, allocations: 7.938 kB / 446.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.1935, allocations: 171 kB / 446.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.243e-06/0.1935, allocations: 0 / 446.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001265/0.1948, allocations: 0.91 MB / 447.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.1948, allocations: 132.5 kB / 447.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.1951, allocations: 405.8 kB / 447.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1951, allocations: 33.7 kB / 447.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.1952, allocations: 263.8 kB / 448.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.1953, allocations: 86.66 kB / 448.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/0.1954, allocations: 77.75 kB / 448.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.1954, allocations: 346.8 kB / 448.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1955, allocations: 83.95 kB / 448.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1957, allocations: 216.2 kB / 448.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.196, allocations: 311 kB / 449.2 MB, free: 456 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.196, allocations: 0 / 449.2 MB, free: 456 kB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006332/0.1966, allocations: 437.2 kB / 449.6 MB, free: 8 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1966, allocations: 8 kB / 449.6 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.1967, allocations: 4.578 kB / 449.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.1971, allocations: 100.7 kB / 449.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1973, allocations: 67.91 kB / 449.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.1993, allocations: 1.811 MB / 451.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1996, allocations: 23.98 kB / 451.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.1996, allocations: 12 kB / 451.6 MB, free: 13.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (37): * 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: 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001845/0.1998, allocations: 197.6 kB / 451.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.1999, allocations: 51.44 kB / 451.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/0.2004, allocations: 298.3 kB / 452.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.2004, allocations: 4 kB / 452.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.2004, allocations: 0 / 452.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.2004, allocations: 7.922 kB / 452.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/0.2014, allocations: 0.7683 MB / 452.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2014, allocations: 3.938 kB / 452.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.2016, allocations: 43.98 kB / 453 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.2018, allocations: 48.81 kB / 453 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.2018, allocations: 7.984 kB / 453 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.2029, allocations: 1.441 MB / 454.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.203, allocations: 0 / 454.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006661/0.2036, allocations: 0.4976 MB / 455 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2037, allocations: 128.7 kB / 455.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.2038, allocations: 11.94 kB / 455.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.204, allocations: 11.98 kB / 455.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.2041, allocations: 27.91 kB / 455.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.2041, allocations: 8 kB / 455.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002671/0.2044, allocations: 283.1 kB / 455.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2044, allocations: 4 kB / 455.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004358/0.2048, allocations: 104 kB / 455.5 MB, free: 9.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,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 (24): * Single equations (assignments): 22 * 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.0007558/0.2056, allocations: 401.8 kB / 455.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007443/0.2064, allocations: 407.1 kB / 456.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2064, allocations: 0 / 456.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.2067, allocations: 239.4 kB / 456.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.2074, allocations: 126.2 kB / 456.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2091, allocations: 1.291 MB / 458 MB, free: 7.219 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.2095, allocations: 0.8545 MB / 458.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.2096, allocations: 43.42 kB / 458.9 MB, free: 6.297 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2096, allocations: 0 / 458.9 MB, free: 6.297 MB / 334.1 MB Notification: Performance of Templates: time 0.009237/0.2188, allocations: 8.178 MB / 467.1 MB, free: 14.11 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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_serCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_serCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_serCalcHelperMain.o] Error 1